10.3.X not downloading TVDB Metadata #623

Closed
opened 2025-12-21 17:01:32 +01:00 by backuprepo · 29 comments
Owner

Originally created by @SenorSmartyPants on GitHub (Apr 22, 2019).

Originally assigned to: @anthonylavado on GitHub.

Describe the bug
No metadata for tv episodes has been downloaded since upgrade to 10.3.0-1. Episode images are grabbed but that's it.

Originally created by @SenorSmartyPants on GitHub (Apr 22, 2019). Originally assigned to: @anthonylavado on GitHub. **Describe the bug** No metadata for tv episodes has been downloaded since upgrade to 10.3.0-1. Episode images are grabbed but that's it.
backuprepo 2025-12-21 17:01:32 +01:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@WWWesten commented on GitHub (Apr 23, 2019):

Seems this issue https://github.com/jellyfin/jellyfin/issues/1235 is related.

@WWWesten commented on GitHub (Apr 23, 2019): Seems this issue https://github.com/jellyfin/jellyfin/issues/1235 is related.
Author
Owner

@WWWesten commented on GitHub (Apr 23, 2019):

Issue #1235 is related only partially. Seems TheTVDb provider disabled for episodes, the directory /cache/tvdb/ is removed, even weblink is removed from episode page. I don't know is it done accidentally or intentionally. May be copyright issues or TheTVDb API changes or validity of access key for API?

@WWWesten commented on GitHub (Apr 23, 2019): Issue #1235 is related only partially. Seems TheTVDb provider disabled for episodes, the directory /cache/tvdb/ is removed, even weblink is removed from episode page. I don't know is it done accidentally or intentionally. May be copyright issues or TheTVDb API changes or validity of access key for API?
Author
Owner

@anthonylavado commented on GitHub (Apr 23, 2019):

TVDB was updated to their v2 API, which as I understand it, had a lot of changes (#776).

I’ll try to test tonight.

@anthonylavado commented on GitHub (Apr 23, 2019): TVDB was updated to their v2 API, which as I understand it, had a lot of changes (#776). I’ll try to test tonight.
Author
Owner

@WWWesten commented on GitHub (Apr 24, 2019):

@anthonylavado thanks!

@WWWesten commented on GitHub (Apr 24, 2019): @anthonylavado thanks!
Author
Owner

@SenorSmartyPants commented on GitHub (Apr 29, 2019):

Any progress on this?

@SenorSmartyPants commented on GitHub (Apr 29, 2019): Any progress on this?
Author
Owner

@anthonylavado commented on GitHub (Apr 30, 2019):

Have to bring in @cvium on this... IIRC, the v2 API does not have the full season ZIP download, which is what was used for episode data.

I believe Emby is still using the v1 API, which is supposed to have died in October 2017, but is still running. You can't even get API keys for the old version anymore (when we did have it working, it was with a borrowed key from a user).

@anthonylavado commented on GitHub (Apr 30, 2019): Have to bring in @cvium on this... IIRC, the v2 API does not have the full season ZIP download, which is what was used for episode data. I believe Emby is still using the v1 API, which is supposed to have died in October 2017, but is still running. You can't even get API keys for the old version anymore (when we did have it working, it was with a borrowed key from a user).
Author
Owner

@WWWesten commented on GitHub (Apr 30, 2019):

And there is no way to download per episode?
Even if the episode description is loaded from TheMovieDB, the title takes the form Episode #nnn. Why?

@WWWesten commented on GitHub (Apr 30, 2019): And there is no way to download per episode? Even if the episode description is loaded from TheMovieDB, the title takes the form Episode #nnn. Why?
Author
Owner

@WWWesten commented on GitHub (Apr 30, 2019):

Why not revert to api v1? Moving to v2 is breaking experience.

@WWWesten commented on GitHub (Apr 30, 2019): Why not revert to api v1? Moving to v2 is breaking experience.
Author
Owner

@cvium commented on GitHub (Apr 30, 2019):

Have you made sure that the tvdb episode provider is enabled for your libraries?

Why not revert to api v1? Moving to v2 is breaking experience.

No

@cvium commented on GitHub (Apr 30, 2019): Have you made sure that the tvdb episode provider is enabled for your libraries? > Why not revert to api v1? Moving to v2 is breaking experience. No
Author
Owner
@cvium commented on GitHub (Apr 30, 2019): Add `Public` to https://github.com/jellyfin/jellyfin/blob/master/MediaBrowser.Providers/TV/TheTVDB/TvdbEpisodeProvider.cs#L21
Author
Owner

@anthonylavado commented on GitHub (Apr 30, 2019):

Will do in a few hours if no one beats me to it. Adding to next patch

@anthonylavado commented on GitHub (Apr 30, 2019): Will do in a few hours if no one beats me to it. Adding to next patch
Author
Owner

@WWWesten commented on GitHub (Apr 30, 2019):

Have you made sure that the tvdb episode provider is enabled for your libraries?
tvdb

It's even not on the list!

@WWWesten commented on GitHub (Apr 30, 2019): > Have you made sure that the tvdb episode provider is enabled for your libraries? ![tvdb](https://user-images.githubusercontent.com/4700006/56987214-40f43480-6ba6-11e9-86af-9bf0f05fbf4f.PNG) It's even not on the list!
Author
Owner

@anthonylavado commented on GitHub (Apr 30, 2019):

@WWWesten Yes, he was unaware that it was missing. Another change surrounding dependency injection changed the way this behaved, so it was unintentionally missing. This recent PR (#1332) fixes this. It will be part of the next release.

To clarify - this release is soon, we just have one small nagging problem to resolve with FFmpeg.

@anthonylavado commented on GitHub (Apr 30, 2019): @WWWesten Yes, he was unaware that it was missing. Another change surrounding dependency injection changed the way this behaved, so it was unintentionally missing. This recent PR (#1332) fixes this. It will be part of the next release. To clarify - this release is soon, we just have one small nagging problem to resolve with FFmpeg.
Author
Owner

@WWWesten commented on GitHub (Apr 30, 2019):

this release is soon...

Great! Thanks.

@WWWesten commented on GitHub (Apr 30, 2019): > this release is soon... Great! Thanks.
Author
Owner

@WWWesten commented on GitHub (May 1, 2019):

Still TheTVDB episode provider does not work with 10,3,2. TheTVDB appears listed now.

@WWWesten commented on GitHub (May 1, 2019): Still TheTVDB episode provider does not work with 10,3,2. TheTVDB appears listed now.
Author
Owner

@anthonylavado commented on GitHub (May 6, 2019):

@WWWesten Is this still an issue for you in 10.3.3? Fixes usually only move forward, we don't correct previous releases.

@anthonylavado commented on GitHub (May 6, 2019): @WWWesten Is this still an issue for you in 10.3.3? Fixes usually only move forward, we don't correct previous releases.
Author
Owner

@WWWesten commented on GitHub (May 6, 2019):

@WWWesten Is this still an issue for you in 10.3.3? Fixes usually only move forward, we don't correct previous releases.

10.3.3? Where is the release? I did not find this either on the git or on the repo.

@WWWesten commented on GitHub (May 6, 2019): > @WWWesten Is this still an issue for you in 10.3.3? Fixes usually only move forward, we don't correct previous releases. 10.3.**3**? Where is the release? I did not find this either on the git or on the repo.
Author
Owner

@anthonylavado commented on GitHub (May 6, 2019):

@WWWesten Sorry, I was confused. So it's still not working for you in 10.3.2? I will test further again

@anthonylavado commented on GitHub (May 6, 2019): @WWWesten Sorry, I was confused. So it's still not working for you in 10.3.2? I will test further again
Author
Owner

@SenorSmartyPants commented on GitHub (May 6, 2019):

I'm not sure if it's related to what I'm seeing in #1356

@SenorSmartyPants commented on GitHub (May 6, 2019): I'm not sure if it's related to what I'm seeing in #1356
Author
Owner

@WWWesten commented on GitHub (May 6, 2019):

@anthonylavado

So it's still not working for you in 10.3.2?

Yep! It is sad. But anyway thanks for Your effort.

@WWWesten commented on GitHub (May 6, 2019): @anthonylavado > So it's still not working for you in 10.3.2? Yep! It is sad. But anyway thanks for Your effort.
Author
Owner

@anthonylavado commented on GitHub (May 7, 2019):

So I've set up a brand new testing install, set up a TV Shows library, and turned off everything except for The TVDB. All metadata has been downloaded. It appears to be working...

Just to be safe, I even recreated my TV Shows library on my actual main Jellyfin install, and everything came back for over 300 episodes of TV. I'm not sure where it's failing for you at this point.

EDIT: Have you refreshed all metadata for the TV Shows library? Go to the Library in the Dashboard, click the three dots "...", choose "Scan Library", and change the option to "Search for missing metadata". If that still doesn't work, try "Replace all metadata".

@anthonylavado commented on GitHub (May 7, 2019): So I've set up a brand new testing install, set up a TV Shows library, and turned off everything except for The TVDB. All metadata has been downloaded. It appears to be working... Just to be safe, I even recreated my TV Shows library on my actual main Jellyfin install, and everything came back for over 300 episodes of TV. I'm not sure where it's failing for you at this point. **EDIT**: Have you refreshed all metadata for the TV Shows library? Go to the Library in the Dashboard, click the three dots "...", choose "Scan Library", and change the option to "Search for missing metadata". If that still doesn't work, try "Replace all metadata".
Author
Owner

@jomp16 commented on GitHub (May 7, 2019):

When I updated the docker container, I needed to check the TheTVDB in the
library config for episode provider (it was unchecked).

Can you make sure to see if the library has TheTVDB checked? Click in
advanced options to see everything.

Em ter, 7 de mai de 2019 2:24 AM, Anthony Lavado notifications@github.com
escreveu:

So I've set up a brand new testing install, set up a TV Shows library, and
turned off everything except for The TVDB. All metadata has been
downloaded. It appears to be working...

Just to be safe, I even recreated my TV Shows library on my actual main
Jellyfin install, and everything came back for over 300 episodes of TV. I'm
not sure where it's failing for you at this point.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/jellyfin/jellyfin/issues/1282#issuecomment-489913169,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AARGYMAYCAB2AURZDBVAE3DPUEHADANCNFSM4HHTDTAQ
.

@jomp16 commented on GitHub (May 7, 2019): When I updated the docker container, I needed to check the TheTVDB in the library config for episode provider (it was unchecked). Can you make sure to see if the library has TheTVDB checked? Click in advanced options to see everything. Em ter, 7 de mai de 2019 2:24 AM, Anthony Lavado <notifications@github.com> escreveu: > So I've set up a brand new testing install, set up a TV Shows library, and > turned off everything except for The TVDB. All metadata has been > downloaded. It appears to be working... > > Just to be safe, I even recreated my TV Shows library on my actual main > Jellyfin install, and everything came back for over 300 episodes of TV. I'm > not sure where it's failing for you at this point. > > — > You are receiving this because you are subscribed to this thread. > Reply to this email directly, view it on GitHub > <https://github.com/jellyfin/jellyfin/issues/1282#issuecomment-489913169>, > or mute the thread > <https://github.com/notifications/unsubscribe-auth/AARGYMAYCAB2AURZDBVAE3DPUEHADANCNFSM4HHTDTAQ> > . >
Author
Owner

@murtoM commented on GitHub (May 7, 2019):

These lines appear in logs when I try to refresh metadata on any episode (TheTVDB is enabled):

[2019-05-07 20:40:41.129 +02:00] [INF] HttpClientManager "POST": "https://api.opensubtitles.org/xml-rpc"
[2019-05-07 20:40:42.085 +02:00] [INF] HttpClientManager "POST": "https://api.opensubtitles.org/xml-rpc"
[2019-05-07 20:40:42.940 +02:00] [ERR] Failed to retrieve episode with id null
TvDbSharper.TvDbServerException: Your JWT token is missing or expired; Not authorized
   at TvDbSharper.Infrastructure.Parser.Parse[T](ApiResponse response, IReadOnlyDictionary`2 errorMap)
   at TvDbSharper.Clients.SeriesClient.GetEpisodesAsync(Int32 seriesId, Int32 page, EpisodeQuery query, CancellationToken cancellationToken)
   at MediaBrowser.Providers.TV.TheTVDB.TvDbClientManager.TryGetValue[T](String key, String language, Func`1 resultFactory)
   at MediaBrowser.Providers.TV.TheTVDB.TvDbClientManager.GetEpisodeTvdbId(Int32 seriesTvdbId, EpisodeQuery episodeQuery, String language, CancellationToken cancellationToken)
   at MediaBrowser.Providers.TV.TheTVDB.TvdbEpisodeProvider.GetMetadata(EpisodeInfo searchInfo, CancellationToken cancellationToken)
@murtoM commented on GitHub (May 7, 2019): These lines appear in logs when I try to refresh metadata on any episode (TheTVDB is enabled): ``` [2019-05-07 20:40:41.129 +02:00] [INF] HttpClientManager "POST": "https://api.opensubtitles.org/xml-rpc" [2019-05-07 20:40:42.085 +02:00] [INF] HttpClientManager "POST": "https://api.opensubtitles.org/xml-rpc" [2019-05-07 20:40:42.940 +02:00] [ERR] Failed to retrieve episode with id null TvDbSharper.TvDbServerException: Your JWT token is missing or expired; Not authorized at TvDbSharper.Infrastructure.Parser.Parse[T](ApiResponse response, IReadOnlyDictionary`2 errorMap) at TvDbSharper.Clients.SeriesClient.GetEpisodesAsync(Int32 seriesId, Int32 page, EpisodeQuery query, CancellationToken cancellationToken) at MediaBrowser.Providers.TV.TheTVDB.TvDbClientManager.TryGetValue[T](String key, String language, Func`1 resultFactory) at MediaBrowser.Providers.TV.TheTVDB.TvDbClientManager.GetEpisodeTvdbId(Int32 seriesTvdbId, EpisodeQuery episodeQuery, String language, CancellationToken cancellationToken) at MediaBrowser.Providers.TV.TheTVDB.TvdbEpisodeProvider.GetMetadata(EpisodeInfo searchInfo, CancellationToken cancellationToken) ```
Author
Owner

@anthonylavado commented on GitHub (May 7, 2019):

@kusochi That looks like the error in #1356, we'll need to dig there.

@anthonylavado commented on GitHub (May 7, 2019): @kusochi That looks like the error in #1356, we'll need to dig there.
Author
Owner

@WWWesten commented on GitHub (May 8, 2019):

@anthonylavado, @jomp16
Everything you wrote, I have done in the past three weeks repeatedly and in different combinations. The problem is in TheTVDb provider and in particular in Episode Provider. Versions pre 10.3.x works just fine.
But from 10.3.1 (1st installed for me) disappears the folder "tvdb" from /jellyfin/cache and moreover, when a folder is created manually, JF deletes it. If "Preferred download language" setting is non-English and non-English metadata is missing, TheTVDb does not fallbacks to English, as expected. If I set for English for TV library or for a TV show item, then JF download English titles etc. But we (mostly for wife) need metadata in Russian.

All of You, try set "Preferred download language" to Spanish, Portuguese etc. for TV show item that MISSING Spanish, Portuguese etc. metadata for episodes and refresh metadata. What will you see?

@WWWesten commented on GitHub (May 8, 2019): @anthonylavado, @jomp16 Everything you wrote, I have done in the past three weeks repeatedly and in different combinations. The problem is in TheTVDb provider and in particular in Episode Provider. Versions pre 10.3.x works just fine. But from 10.3.1 (1st installed for me) disappears the folder "tvdb" from /jellyfin/cache and moreover, when a folder is created manually, JF deletes it. If "Preferred download language" setting is non-English and non-English metadata is missing, TheTVDb does not fallbacks to English, as expected. If I set for English for TV library or for a TV show item, then JF download English titles etc. But we (mostly for wife) need metadata in Russian. All of You, try set "Preferred download language" to Spanish, Portuguese etc. for TV show item that MISSING Spanish, Portuguese etc. metadata for episodes and refresh metadata. What will you see?
Author
Owner

@jomp16 commented on GitHub (May 8, 2019):

@WWWesten did you see https://github.com/jellyfin/jellyfin/issues/1342?

It's about the English fallback issue.

@jomp16 commented on GitHub (May 8, 2019): @WWWesten did you see https://github.com/jellyfin/jellyfin/issues/1342? It's about the English fallback issue.
Author
Owner

@WWWesten commented on GitHub (May 9, 2019):

About problems with russian metadates from TVDB: https://forum.jellyfin.org/t/troubles-with-russian-specifications/314

@WWWesten commented on GitHub (May 9, 2019): About problems with russian metadates from TVDB: https://forum.jellyfin.org/t/troubles-with-russian-specifications/314
Author
Owner

@anthonylavado commented on GitHub (May 9, 2019):

@WWWesten I’m so sorry, GitHub is a difficult place to discuss this.

There are a few issues in total I think:

  • TVDB not available (should be fixed already)
  • TVDB not downloading, JWT error (#1356)
  • TVDB doesn’t fallback to English (#1342)

Which ones are you experiencing? If it’s the others, I think it’s best to move to those issues, and close this one. If it’s different, we should make a new issue for tracking it.

@anthonylavado commented on GitHub (May 9, 2019): @WWWesten I’m so sorry, GitHub is a difficult place to discuss this. There are a few issues in total I think: * TVDB not available (should be fixed already) * TVDB not downloading, JWT error (#1356) * TVDB doesn’t fallback to English (#1342) Which ones are you experiencing? If it’s the others, I think it’s best to move to those issues, and close this one. If it’s different, we should make a new issue for tracking it.
Author
Owner

@SenorSmartyPants commented on GitHub (May 20, 2019):

Metadata is downloading for me now. I had the JWT issue after I started this one. A restart of JF fixed that issue for me. This issue could be closed as far as I am concerned. But I know I'm not the only one that's added to this issue.

@SenorSmartyPants commented on GitHub (May 20, 2019): Metadata is downloading for me now. I had the JWT issue after I started this one. A restart of JF fixed that issue for me. This issue could be closed as far as I am concerned. But I know I'm not the only one that's added to this issue.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: starred/jellyfin#623
No description provided.