Jump to content

Gamebrowser - Metadata GET fails due to game system param being null


josht

Recommended Posts

josht

Hello,

I am trying to get gamebrowser working on my emby instance.  I have the addon v3.2.9 installed on Emby 4.7.14.0 running on Docker. 

Folder structure is as spelled out in the Gamebrowser guide post:

/mnt/user/multimedia/Games/N64/Star Wars - Shadows of the Empire/Star Wars - Shadows of the Empire.z64

Games Library root: /mnt/user/multimedia/Games/

I configured my game systems in the plugin config as follows:

<?xml version="1.0"?>
<PluginConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <GameSystems>
    <ConsoleFolderConfiguration>
      <Path>/mnt/user/multimedia/Games/N64</Path>
      <ConsoleType>Nintendo 64</ConsoleType>
    </ConsoleFolderConfiguration>
  </GameSystems>
</PluginConfiguration>

I also have the EmuMovies plugin installed with my creds stored in the config.

When i add the /mnt/user/multimedia/Games/ folder as a library, it finds the games and created entries that list the file names, but does not pull any images or other metadata for them.  when i look in the debug logs, i see entries like this:

2024-01-11 21:05:57.105 Debug App: Running FolderImageProvider for /mnt/user/multimedia/Games/N64/Star Wars - Shadows of the Empire
2024-01-11 21:05:57.110 Debug App: Running EmuMoviesImageProvider for /mnt/user/multimedia/Games/N64/Star Wars - Shadows of the Empire/Star Wars - Shadows of the Empire.z64
2024-01-11 21:05:57.110 Info HttpClient: GET https://api.gamesdbase.com/search.aspx?search=Star Wars - Shadows of the Empire&system=&media=Cabinet&sessionid=REDACTED
2024-01-11 21:05:57.195 Info HttpClient: GET https://api.gamesdbase.com/search.aspx?search=Star Wars - Shadows of the Empire&system=&media=Cart&sessionid=REDACTED
2024-01-11 21:05:57.277 Info HttpClient: GET https://api.gamesdbase.com/search.aspx?search=Star Wars - Shadows of the Empire&system=&media=Snap&sessionid=REDACTED
2024-01-11 21:05:57.361 Info HttpClient: GET https://api.gamesdbase.com/search.aspx?search=Star Wars - Shadows of the Empire&system=&media=Title&sessionid=REDACTED

If you look in the URLs, you will see that the "system" parameter is empty.  If i take one of those URLs and alter it and put in the correct system parameter like system=Nintendo_N64, it works.  What am I configuring incorrectly which is preventing Emby and the plugins from determining the value to pass as the system?

Link to comment
Share on other sites

Hi, what system param is null? Please attach the complete emby server log. thanks.

Link to comment
Share on other sites

josht

Thanks for the quick response. 

If a full log is needed, i have attached one, but i think the root of the problem is that if you look at the log snippet with the API calls to gamesdbase.com, you can see in the query string that "system" is empty:

https://api.gamesdbase.com/search.aspx?search=Star Wars - Shadows of the Empire&system=&media=Title&sessionid=REDACTED

<Results>
    <Result Found="False" Error="True" MSG="First pass validation error" TimeTaken="0 seconds" />
</Results>

if you take the same URL and add in the correct system value (along with a valid, non-readacted session ID), the GEt is successful:

https://api.gamesdbase.com/search.aspx?search=Star Wars - Shadows of the Empire&system=Nintendo_N64&media=Title&sessionid=REDACTED

<Results>
    <Result Found="True" Cached="True" URL="http://api.gamesdbase.com/ed32312c363434a0352c35c6323132c3322d32c3352f352e322e322ca02e352e312c31ffddc9ed586da05bc5d265645772c5c86b1f72c86d72b67263c85fc470721bc4619a5e6c6b686d6419b0.png" TimeTaken="0 seconds" CRC="4aa8b801" />
</Results>

What i think is happening is that the configuration of one of the addons is not correct and it cannot read the game system value to insert into the URL.

 

embyserver-63840604500.txt

Link to comment
Share on other sites

Where did you even get the gamesdb plugin? It's not even in our catalog right now.

Link to comment
Share on other sites

josht

Is there any more information i can provide to help troubleshoot the issue here?  Thanks for taking a look!

Link to comment
Share on other sites

drikosv8

What is the endpoint and parameters that I use to get the synopsis?

I tried a lot and I couldn't.

Link to comment
Share on other sites

josht
Quote

Is this a newly added games library?

Yes.  I am trying to get this up and running.  I have not had it set up or working in the past.

Link to comment
Share on other sites

  • 3 weeks later...

I'm not sure why the GameSystem value is null. If you remove your games library, then run a full scan to clean out the database, then add it back, does that resolve it?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...