Jump to content

How to clear metadata cache


Loki93

Recommended Posts

Hello everybody and happy holidays,

 

I'm looking for a way to manually clear the metadata cache. I want that because the tvdb scrapper gets outdated (wrong) episode information (episode title, description, airdate, etc.) from cache based on the correct filenames. As it seems the scrapper refers to the S00E00 part of the filename and ignores the following episode title (e.g. "S03E14 - Zwei linke Hände.mp4"). The result is, that "S03E14 - Zwei linke Hände.mp4" is displayed as "Glaube versetzt Berge" which is S03E20.

 

I recently changed some information (episode numbers) in the tvdb database and verified that the API repsonses the new values.

 

In particular, I changed the episode numbers:

I found a folder at /var/lib/emby/cache with several subfolders like "tmdb-movies" or "tvdb". Is it save to delete those folders without running into problems with?

 

Cheers

Lok1

 

Link to comment
Share on other sites

Thanks :)

 

I just noticed one thing:

 

The received metadata for absolute order is correct while that one for official order is still outdated.

 

Here is the output from the downloaded xml-files of the particular episode:

 cat tvdb/291180/episode-abs-98.xml
<?xml version="1.0" encoding="utf-8"?><Episode><id>6179164</id><Combined_episodenumber>15</Combined_episodenumber><Combined_season>3</Combined_season><DVD_chapter>0</DVD_chapter><DVD_discid></DVD_discid><DVD_episodenumber>0</DVD_episodenumber><DVD_season>0</DVD_season><Director></Director><EpImgFlag></EpImgFlag><EpisodeName>Zwei linke Hände</EpisodeName><EpisodeNumber>15</EpisodeNumber><FirstAired>2017-07-06</FirstAired><GuestStars></GuestStars><IMDB_ID></IMDB_ID><Language>de</Language><Overview>

 

cat tvdb/291180/episode-3-14.xml
<?xml version="1.0" encoding="utf-8"?><Episode><id>6106291</id><Combined_episodenumber>14</Combined_episodenumber><Combined_season>3</Combined_season><DVD_chapter>0</DVD_chapter><DVD_discid></DVD_discid><DVD_episodenumber>0</DVD_episodenumber><DVD_season>0</DVD_season><Director></Director><EpImgFlag></EpImgFlag><EpisodeName>Glaube versetzt Berge</EpisodeName><EpisodeNumber>14</EpisodeNumber><FirstAired>2017-06-15</FirstAired><GuestStars></GuestStars><IMDB_ID></IMDB_ID><Language>de</Language><Overview>

 

This is confusing because the tvdb website assignes

"Official Order / Season 3 / Episode 14" to "Absolute Order / Season 1 / Episode 98" like here: https://www.thetvdb.com/series/291180/episodes/6179164 and

"Official Order / Season 3 / Episode 20" to "Absolute Order / Season 1 / Episode 104" like here: https://www.thetvdb.com/series/291180/episodes/6106291

 

I don't know if this is still related to embyserver or if it is more related to tvdb itself. I think emby tries to scrappe them from imdb instead of tvdb, because the assigned tvdb ID is correct, but the one from imdb is wrong (wherever this information comes from).

Edited by Loki93
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...