Playnite Forums
  • Playnite Web
  • Rules
  • Members
  • Team
  • Search
  • Register
  • Login
  • Home
  • Members
  • Help
  • Search
Playnite Forums Extension Database Metadata Plugins SGDB Metadata Extension

SGDB Metadata Extension
cooperate
Offline

#21
07-30-2020, 05:47 AM
(07-28-2020, 03:17 PM)sheepbeep Wrote: This should not happen, if there is some basic problem, like not finding the game, the extension should not crash and burn and stopping other metadata extensions to continue searching.



2020-07-28 17:13:14.2918|DEBUG:Downloading metadata for Alien Breed: Tower Assault, 1207663753, aebe8b7c-6dc3-4a66-af31-e7375c6b5e9e
2020-07-28 17:13:14.7981|DEBUG:Downloading string content from http://api.gog.com/products/1207663753?expand=description using cookies and System.Text.UTF8Encoding encoding.
2020-07-28 17:13:15.9000|INFO:SGDB Initialized
2020-07-28 17:13:15.9000|INFO:AvailableFields
2020-07-28 17:13:15.9000|INFO:GetAvailableFields
2020-07-28 17:13:15.9000|INFO:https://www.steamgriddb.com/api/v2/heroes/gog/1207663753
2020-07-28 17:13:16.1056|INFO:{"success":false,"status":404,"errors":["Game not found"]}
2020-07-28 17:13:16.1056|DEBUG:Copying file bad path to D:\Client\PlayNite\7\library\files\74e0d2e4-8c98-4fda-866e-1b80c0fc2944\07e6e307-50c2-45ca-9436-3b3e87b30903
2020-07-28 17:13:16.1056|ERROR:Failed to copy file bad path to database.System.IO.FileNotFoundException: Could not find file 'bad path'.
File name: 'bad path'
  at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
  at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
  at System.IO.File.Copy(String sourceFileName, String destFileName, Boolean overwrite)
  at Playnite.Common.FileSystem.CopyFile(String sourcePath, String targetPath, Boolean overwrite)
  at Playnite.Database.GameDatabase.AddFile(String path, Guid parentId) in E:\Devel\Playnite\source\Playnite\Database\GameDatabase.cs:line 379
2020-07-28 17:13:16.1056|INFO:AvailableFields
2020-07-28 17:13:16.1056|INFO:GetCoverImage
2020-07-28 17:13:16.1056|INFO:https://www.steamgriddb.com/api/v2/grids/gog/1207663753?dimensions=600x900&styles=alternate
2020-07-28 17:13:16.3262|INFO:{"success":false,"status":404,"errors":["Game not found"]}
2020-07-28 17:13:16.3262|DEBUG:Copying file bad path to D:\Client\PlayNite\7\library\files\74e0d2e4-8c98-4fda-866e-1b80c0fc2944\69443918-2c6a-433e-899a-f41cc5950694
2020-07-28 17:13:16.3262|ERROR:Failed to copy file bad path to database.System.IO.FileNotFoundException: Could not find file 'bad path'.
File name: 'bad path'
  at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
  at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
  at System.IO.File.Copy(String sourceFileName, String destFileName, Boolean overwrite)
  at Playnite.Common.FileSystem.CopyFile(String sourcePath, String targetPath, Boolean overwrite)
  at Playnite.Database.GameDatabase.AddFile(String path, Guid parentId) in E:\Devel\Playnite\source\Playnite\Database\GameDatabase.cs:line 379

See also https://github.com/cooperate/SteamGridDB...a/issues/6

This should be corrected now 0.5.1.
hunt363
Offline

#22
07-30-2020, 09:20 AM
I figured out my problem. It turns out I was being an idiot and was using the Steam Web Api Key instead of the SGDB Api Key. It works like a charm now. Thanks for your work cooperate. And sorry for being an idiot.
cooperate
Offline

#23
07-30-2020, 08:23 PM
Haha no worries just happy you got it sorted!
sheepbeep
Offline

#24
07-31-2020, 03:49 PM
Metadata download for GOG and Steam seem to work for now, but not for any other libraries.

See my full report on Github ( https://github.com/cooperate/SteamGridDB...a/issues/6 ).
Cromi
Offline

#25
08-01-2020, 06:33 AM
Since SteamGridDB's maintenance yesterday if I choose Cover Style "Any" I get a failed to download metadata error when trying to download a cover.  If I choose a specific Style no error occurs.   All images download until it gets to the covers (no problem with icons or heroes).

2020-08-01 02:26:46.4788|INFO:{"success":false,"errors":["Invalid style"]}
sheepbeep
Offline

#26
08-01-2020, 08:41 AM
Some question half-unrelated: I just looked up the maintenance stuff at steamgriddb.com, but not anywhere I could find some sort of site news or anything?
darklinkpower
Offline

Super Moderator
#27
08-01-2020, 04:13 PM
(08-01-2020, 08:41 AM)sheepbeep Wrote: Some question half-unrelated: I just looked up the maintenance stuff at steamgriddb.com, but not anywhere I could find some sort of site news or anything?
All news are posted in the SteamGridDB discord server in the #announcements channel.
sheepbeep
Offline

#28
08-01-2020, 07:53 PM
(08-01-2020, 04:13 PM)darklinkpower Wrote: All news are posted in the SteamGridDB discord server in the #announcements channel.

There are people who don't use Discord due to privacy concerns, so... this is not ideal, but good to know.
cooperate
Offline

#29
08-03-2020, 06:16 PM (This post was last modified: 08-03-2020, 06:16 PM by cooperate.)
(08-01-2020, 06:33 AM)Cromi Wrote: Since SteamGridDB's maintenance yesterday if I choose Cover Style "Any" I get a failed to download metadata error when trying to download a cover.  If I choose a specific Style no error occurs.   All images download until it gets to the covers (no problem with icons or heroes).

2020-08-01 02:26:46.4788|INFO:{"success":false,"errors":["Invalid style"]}

This should be correct now in 0.5.3.  Thanks!
Cromi
Offline

#30
08-03-2020, 09:17 PM (This post was last modified: 08-04-2020, 03:08 AM by Cromi.)
Works with no errors again.
flamepanther
Offline

#31
08-19-2020, 03:54 AM
This plugin is working very well now! If I had one wish, it would be an option to fall back to a second preference if the preferred cover isn't found. For instance grabbing 460x215 if no 920x430 cover is found (or vise versa).
sengtsan
Offline

#32
10-01-2020, 07:52 PM (This post was last modified: 10-09-2020, 03:40 PM by sengtsan. Edit Reason: When I viewed the post on the forum it simply shows "click to edit" rather than the post itself )
SeeDborg
Offline

#33
11-17-2020, 05:17 PM
I thought of a cool feature : would it be possible to specify some Steamgriddb users (and order them), and the plugin prioritize their covers to download ?

I'm following a few ones and I'd like to have their covers only.
sheepbeep
Offline

#34
11-21-2020, 03:06 PM (This post was last modified: 11-21-2020, 03:06 PM by sheepbeep.)
(11-17-2020, 05:17 PM)SeeDborg Wrote: I thought of a cool feature : would it be possible to specify some Steamgriddb users (and order them), and the plugin prioritize their covers to download ?

This is not possible yet, as the API does not provide any results containing author names, just game ids. You will have to contact the SteamGrid DB maintainers in order to extend the query in order to make this work with the extension.
an_angry_mexican
Offline

#35
02-05-2021, 06:01 PM (This post was last modified: 02-05-2021, 06:04 PM by an_angry_mexican.)
(07-23-2020, 02:16 AM)CriticalComposer Wrote: Is there a way that the results could show the size of the pictures? Too often I've pulled down a GOG cover or one of the 3800x1800 heroes and I've ended up just going to SGDB anyways to find exactly what I want, especially when there isn't a logo because Steam provides one -- though I understand there isn't much you can do about that one.

I second that. Also, add a preview (or a larger thumbnail), to avoid downloading poor quality or blurry images, would be great.
wolfy_
Offline

#36
02-20-2021, 04:11 AM
Works great, except for one small problem: When a game is not in their database, the extensions pulls images from the first search result regardless if the name is a match or not.

Yarntown is not in their database so the extensions seems to settle for the first result it finds and gives me images for Wirenet instead.
The only other game I noticed this was with a small game from Indiegala called Skybride where the extension will give me Skyborn instead.
JAXi
Offline

#37
03-03-2021, 10:11 AM
Not sure if this is the one I'm using, but is there a way to make it prefer one style but still find all of em if needed?
cooperate
Offline

#38
04-03-2021, 04:23 PM (This post was last modified: 04-03-2021, 04:25 PM by cooperate.)
(02-20-2021, 04:11 AM)wolfy_ Wrote: Works great, except for one small problem:  When a game is not in their database, the extensions pulls images from the first search result regardless if the name is a match or not.

Yarntown is not in their database so the extensions seems to settle for the first result it finds and gives me images for Wirenet instead.
The only other game I noticed this was with a small game from Indiegala called Skybride where the extension will give me Skyborn instead.


Yes - it is hardcoded to grab the first result when you do the batch processing.  Only way around this at the moment is to go one-by-one unfortunately.

(03-03-2021, 10:11 AM)JAXi Wrote: Not sure if this is the one I'm using, but is there a way to make it prefer one style but still find all of em if needed?


Not at the moment sorry - it can definitely be done but style preference simply only pulls using that specific filter right now.
sofmarch
Offline

#39
04-29-2021, 06:28 PM
Now that SteamGridDb has allowed for upload of actual icons would it be possible to update to use that for Icons instead of the Clear Logos like it is now?
cooperate
Offline

#40
04-30-2021, 04:22 PM (This post was last modified: 04-30-2021, 04:23 PM by cooperate.)
(04-29-2021, 06:28 PM)sofmarch Wrote: Now that SteamGridDb has allowed for upload of actual icons would it be possible to update to use that for Icons instead of the Clear Logos like it is now?


DarkLinkPower has a PR for this change and a release on the playnite discord extensions-dev right now if you want to check it out.

I'm to get it properly merged and released and I'll update the info here sometime this weekend.
« Next Oldest | Next Newest »
Pages (4): « Previous 1 2 3 4 Next »



  • View a Printable Version
  • Subscribe to this thread

© Designed by D&D - Powered by MyBB

Linear Mode
Threaded Mode