-
Notifications
You must be signed in to change notification settings - Fork 3
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
Fetch game metadatas (images, ...) with external database #53
Comments
Hi @samuelmichaud . Welcome! As indicated in #44 , we're obviously all for implementing this kind of feature. A few notes:
In any case, I'm very interested to see what you've put together with your frontend whenever you're ready to share. EDIT: Discovered there's an unofficial API wrapper that should make things easier. |
FWIW, I've requested and been granted an API key for TheGamesDb.net. Assuming I continue to have time (work's been slow), I'll do some playing around. I've also been checking the various launcher databases we're already importing to see what metadata is already included. As might be expected, It's hit-and-miss. |
Hi, Thanks for your anwser & interest ! FWIW, I've finaly used https://rawg.io/ as primary source, more than TheGamesDb.net because images from TGDB are not always on the exact same ratio. For non commercial / hobby project, it's max 20 000 api calls per month but I didn't see anything about dump in their terms : https://rawg.io/apidocs#terms so maybe it's allowed. In any case your suggestion in 3) seems perfect. Also, I've seen that Pegasus frontend (https://github.com/mmatyas/pegasus-frontend) scan medias in folders of detected games. Maybe this is something you can explore too... |
Yes, consistent image ratio is obviously preferable, but the RAWG terms, while not exactly onerous, do make things a bit more difficult in this context:
I did a few searches of Pegasus' codebase and I can't really see anything very helpful. Let me know if there's a specific bit of code you think I missed. |
Since this is all part of GLC2, we probably want to implement metadata providers as plugins like the platforms. Here's some we might start with:
|
Hi, I told you I will opensource my work... it took a very long time but here it is : https://github.com/samuelmichaud/PhotonLauncher Thanks guys, I could not have done it without your work ! |
Hi,
Might be a little bit related to this issue : #44
Proposed evolution
Add a command line support to launch a new process "fetchForGameMetadata"
This process would do the following:
NB : the DB dump don't give image urls, however, we can guess it with ID.
God of War => id = 96733
Image => https://cdn.thegamesdb.net/images/thumb/boxart/front/96733-1.jpg
Based on this page https://thegamesdb.net/stats.php it will work 98.54% of the time (boxart-front).
Thanks a lot for your awesome work, you guys rocks! I've a small personnal project to build a light TV frontend to launch games which support game pad controller, touch inputs,... I could not do it without your works. FYI, not finished, need to be opensourced.
The text was updated successfully, but these errors were encountered: