Posts: 5,184
Joined: Jan 2009
Reputation:
131
That got me confused at first as well. The new texture cache keeps track of images based on their original location and only caches an image (locally) if really necessary. So if you scrape an episode with TheTVDb, it will automatically get the episodes thumb from tvdb so the original location of that image is on thetvdb server so that's what XBMC uses to keep track of the image. When you request that image using the URI returned by JSON-RPC it will first check if the image is already cached. If that's the case it will return the cached image. Otherwise it will cache the image and then return it.
Always read the
online manual (wiki),
FAQ (wiki) and search the forum before posting.
Do not e-mail Team Kodi members directly asking for support. Read/follow the
forum rules (wiki).
Please read the pages on
troubleshooting (wiki) and
bug reporting (wiki) before reporting issues.
Posts: 135
Joined: Feb 2011
Reputation:
0
I'm having issues with the nightly builds (currently I am using the 12 May nightly build). I use Simple REST Client to do JSON testing in chrome, and it keeps giving me:
415 Unsupported Media Type
If I go back to the stable release of XBMC Eden, everything works fine.
Posts: 794
Joined: Apr 2011
Reputation:
16
Mizaki
Posting Freak
Posts: 794
In Frodo (from yesterday) GetArtistDetails is giving "Invalid params." and the reason looks to be that the DB hasn't been populated. If I go into an artist in the GUI and bring up their info it works thereafter. Doing a GetArtists the info is just empty.
In Eden the info is already there so I guess there might be a problem with the artist info not getting filled in on initial scrap?
Should I do a bug for the GetArtistDetails or is it more of a upstream problem from the initial artist scrap?
Posts: 5,184
Joined: Jan 2009
Reputation:
131
Can you be more specific about "the DB hasn't been populated"? I assume you received the "artistid" you used in GetArtistDetails from GetArtists?
But I think I know the problem and there might already be a bug report for that.
IIRC you have to manually start retrieving artist info to make it available in the database.
I'll have a look if it's the problem I think it is.
Always read the
online manual (wiki),
FAQ (wiki) and search the forum before posting.
Do not e-mail Team Kodi members directly asking for support. Read/follow the
forum rules (wiki).
Please read the pages on
troubleshooting (wiki) and
bug reporting (wiki) before reporting issues.
Posts: 794
Joined: Apr 2011
Reputation:
16
Mizaki
Posting Freak
Posts: 794
In the music DB table "artistinfo" only contains 3 rows from the artists I've viewed their info ("i") for in the GUI. Total artists in "artist" table is 94.
I did have a look for a JSONRPC bug report and can't find anything I think is related searching for "artistinfo".
Posts: 5,184
Joined: Jan 2009
Reputation:
131
Yup that's the problem. GetArtists only retrieves the list of artists available in the database whereas GetArtistDetails tries to retrieve all the details for a specific artist and if that artist doesn't have any details scraped yet it will fail. Not sure if anything can be done. Might just add a fallback to return the name of the artist so that you won't get an error response.
Always read the
online manual (wiki),
FAQ (wiki) and search the forum before posting.
Do not e-mail Team Kodi members directly asking for support. Read/follow the
forum rules (wiki).
Please read the pages on
troubleshooting (wiki) and
bug reporting (wiki) before reporting issues.
Posts: 794
Joined: Apr 2011
Reputation:
16
Mizaki
Posting Freak
Posts: 794
I take it it not that easy to do the same as the GUI and populate the info? And I guess it'll get "fixed" so the artist info is populated when the artist is added eventually?