-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Cover Finder #216
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cover Finder #216
Conversation
…o be changed later)
Your PR was set to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unfortunately I'm not able to test this yet, but I have a couple feedback while skimming the code
key escape url host check
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
# Conflicts: # CMakeLists.txt
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
ca59205
to
78407a4
Compare
This comment was marked as resolved.
This comment was marked as resolved.
08a8319
to
3489bd4
Compare
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
I will see what I can do, as well as check with some other developers. These are some references for the missing
It appears that we need to place the dll next to |
Hi, It seems there was a problem with static linking that affected libcurl. With the above commit:
I did a quick test and the cover finder feature seems to retrieve images correctly on Windows 10. |
@psyke83 Very awesome change! |
@psyke83 Thank you so much! @mariotaku looks like a couple of failures, should be easy to resolve.
#15 1.895 CMake Error at /usr/share/cmake-3.22/Modules/FindPkgConfig.cmake:603 (message):
#15 1.895 A required package was not found Should just be a matter of adding the dependency here: https://github.com/mariotaku/Sunshine/blob/6806ae2335565f61b1629502d23ceed3eb2c004f/Dockerfile#L17
|
#0 4.498 Reading package lists...
#0 5.230 Building dependency tree...
#0 5.357 Reading state information...
#0 5.362 Package libcurl4-openssl-dev is not available, but is referred to by another package.
#0 5.362 This may mean that the package is missing, has been obsoleted, or
#0 5.362 is only available from another source
#0 5.362 However the following packages replace it:
#0 5.363 libcurl4-doc
#0 5.363
#0 5.365 E: Version '7.68.0*' for 'libcurl4-openssl-dev' was not found Perhaps this is just a version issue. https://packages.ubuntu.com/jammy/libcurl4-openssl-dev Flatpak failure is likely just an intermittent failure. It happens from time to time. |
@ReenigneArcher Oh! I thought 22.04 is focal. |
Thanks for working on this everyone! I will test it in Windows 11 and 10 tonight. If it's all working, I'll assume we're good to merge, since it worked in Linux before. |
I saw this on Sunshine's log output:
Code 77 is related to the certificate store; presumably curl is not able to find it in the expected format on a Windows system. I feel that instead of copying the certificate store, it would be better to use Windows' own internal store instead. To that effect, changing the build system to install |
Just to add some more context: The That might be worth investigating, but I'm not sure if it's worth the trouble? Windows 8.1 will be EOL in January 2023, and you'd have to be crazy to run Windows 7 in a networked environment. |
Probably fine since Sunshine won't work in Windows 7 anyway. I've also yet to see a user report an issue and indicate they are using Windows 8. |
Well, either way seems to work on my system. Here's the OpenSSL workaround:
Edit: given that Sunshine already uses OpenSSL for crypto functions elsewhere in the code, it might make better sense to use the above workaround, as it may technically keep memory/library bloat to a minimum. |
The workaround you provided seems logical to me. Let's go with that direction. |
I've applied @psyke83's patch. Really appreciate your suggestions! |
Description
This PR adds functionality to search game cover image, collected from IGDB.com.
Screenshot
Type of Change
Checklist