jellyseerr icon indicating copy to clipboard operation
jellyseerr copied to clipboard

feat: add tvdb indexer

Open TOomaAh opened this issue 1 year ago • 13 comments

Description

Screenshot (if UI-related)

To-Dos

  • [x] Successful build pnpm build
  • [ ] Translation keys pnpm i18n:extract
  • [ ] Database migration (if required)

Issues Fixed or Closed

  • Fixes #XXXX

TOomaAh avatar Jul 26 '24 23:07 TOomaAh

This pull request has merge conflicts. Please resolve the conflicts so the PR can be successfully reviewed and merged.

github-actions[bot] avatar Aug 07 '24 11:08 github-actions[bot]

Any update on this feature? 👀

I think this would help with the issue described here https://github.com/Fallenbagel/jellyseerr/issues/648

DjordyKoert avatar Oct 19 '24 20:10 DjordyKoert

Any update on this feature? 👀

I think this would help with the issue described here https://github.com/Fallenbagel/jellyseerr/issues/648

Sorry, I've got a lot of work at the moment but I've continued to work on it, I'm trying to use directly the api that sonarr uses, skyhook.

TOomaAh avatar Oct 19 '24 20:10 TOomaAh

Looks like half of the tests are failing. Could you take a look and try to fix them? And add some for TVDB?

gauthier-th avatar Oct 26 '24 20:10 gauthier-th

Looks like half of the tests are failing. Could you take a look and try to fix them? And add some for TVDB?

Hello, indeed, I solved the problem of the existing tests and I added tests for tvdb.

TOomaAh avatar Oct 27 '24 10:10 TOomaAh

This pull request has merge conflicts. Please resolve the conflicts so the PR can be successfully reviewed and merged.

github-actions[bot] avatar Nov 03 '24 06:11 github-actions[bot]

This can be tested with the preview-tvdb-indexer tag.

gauthier-th avatar Nov 17 '24 21:11 gauthier-th

@TOomaAh next time you should rebase instead of merge. Merging makes the history look messy.

It's also in our contributing guide to rebase instead of merging

gauthier-th avatar Nov 17 '24 21:11 gauthier-th

This pull request has merge conflicts. Please resolve the conflicts so the PR can be successfully reviewed and merged.

github-actions[bot] avatar Nov 20 '24 23:11 github-actions[bot]

Hey @TOomaAh, I'm one of the Sonarr devs and this PR was recently brought to my attention.

I see that this is using Skyhook for TheTVDB data; our agreement with TheTVDB is for Skyhook to be hosted for Sonarr's direct use only and cannot be used with other applications as it's being used here.

markus101 avatar Jan 19 '25 19:01 markus101

@TOomaAh could you also remove the tvdb apikey setting? We will add a global one (i will personally commit it to this pr so just put a placeholder for now)

The reasoning for this decision can be found here: https://github.com/fallenbagel/jellyseerr/pull/1250#issuecomment-2589597226

fallenbagel avatar Feb 16 '25 14:02 fallenbagel

@TOomaAh could you also remove the tvdb apikey setting? We will add a global one (i will personally commit it to this pr so just put a placeholder for now)

The reasoning for this decision can be found here: https://github.com/fallenbagel/jellyseerr/pull/1250#issuecomment-2589597226

No problem, I'll apply the change as soon as possible.

TOomaAh avatar Feb 20 '25 14:02 TOomaAh

This pull request has merge conflicts. Please resolve the conflicts so the PR can be successfully reviewed and merged.

github-actions[bot] avatar Feb 20 '25 17:02 github-actions[bot]

Other applications require the user to provide a TVDB API key, or seemingly to host their own proxy endpoint like Skyhook as mentioned above, I assumed this was due to TVDB's policies - is this not the case?

adam-the avatar Mar 13 '25 15:03 adam-the

This pull request has merge conflicts. Please resolve the conflicts so the PR can be successfully reviewed and merged.

github-actions[bot] avatar Apr 04 '25 17:04 github-actions[bot]

Hello! Is it possible for me to test this preview build?

veselin-antonov avatar May 05 '25 14:05 veselin-antonov

Hello! Is it possible for me to test this preview build?

Hello,

You'll have to be a bit more patient. This PR has not yet been reviewed by the jellyseerr team and the api key is missing for this PR to work. This shouldn't take long.

TOomaAh avatar May 05 '25 15:05 TOomaAh

Got it. When the time comes, will there be a docker image tagged for this feature or do I have to build the codebase myself? What is the procedure for testing?

veselin-antonov avatar May 05 '25 19:05 veselin-antonov

Also from a quick test, search is showing me both tmdb and tvdb result despite having set tvdb for just series: image

In this example, Animaniacs is split into two series in TMDB, 1993 and 2020 version. However, TVDB treats both 1993 and 2020 version as one single series. Here when I search I am provided with the 1993 version with all the episodes of 2020 (from tvdb) and the 2020 TMDB modern version

fallenbagel avatar May 06 '25 02:05 fallenbagel

TMDB should always be the default metadata scraper for all media types. TVDB should only be a user preference thing. By default Jellyseerr should always default to TMDB

@fallenbagel I disagree. Sonarr uses tvdb which frequently has issues with Jellyseerr because it uses tmdb for tv shows. This results in some things not being monitored and downloaded properly.

It's better to work with the appropriate metadata providers for both Radarr and Sonarr. Going against the grain only creates a worse experience for end users.

NeurekaSoftware avatar May 06 '25 02:05 NeurekaSoftware

TMDB should always be the default metadata scraper for all media types. TVDB should only be a user preference thing. By default Jellyseerr should always default to TMDB

@fallenbagel I disagree. Sonarr uses tvdb which frequently has issues with Jellyseerr because it uses tmdb for tv shows. This results in some things not being monitored and downloaded properly.

We would prefer current behavior to not be changed.

Going against the grain only creates a worse experience for end users.

This PR introduces an optional preference for users to select TVDB as a metadata source. It is merely a few clicks away. Similar to how integrating with Sonarr or Radarr is optional, Jellyseerr does not require these services technically. Users can skip configuring them and still use Jellyseerr effectively, as the only required dependency is a media server.

Jellyseerr will continue to rely on TMDB as its default metadata provider, offering TVDB as an optional alternative. This option should give the end-user flexibility enough without altering the current default behavior.

TMDB will remain the default for now, even if this may not align with everyone’s preferences.

fallenbagel avatar May 06 '25 02:05 fallenbagel

This pull request has merge conflicts. Please resolve the conflicts so the PR can be successfully reviewed and merged.

github-actions[bot] avatar May 06 '25 17:05 github-actions[bot]

This pull request has merge conflicts. Please resolve the conflicts so the PR can be successfully reviewed and merged.

github-actions[bot] avatar May 19 '25 08:05 github-actions[bot]

What is the status on this? I think the last requested changes are already taken care of, right? I might be missing something

ToasterUwU avatar Jul 07 '25 17:07 ToasterUwU

What is the status on this? I think the last requested changes are already taken care of, right? I might be missing something

Hello,

This PR is waiting for tests and a possible implementation of an internal proxy with a cache to prevent the tvdb api from being spammed.

TOomaAh avatar Jul 09 '25 16:07 TOomaAh

This pull request has merge conflicts. Please resolve the conflicts so the PR can be successfully reviewed and merged.

github-actions[bot] avatar Aug 19 '25 19:08 github-actions[bot]

@TOomaAh I would love to test this out, how can I proceed? I have been wanting to have a requestor that matches the same data I see on Sonarr.

samirbilalmemon avatar Aug 30 '25 17:08 samirbilalmemon

@TOomaAh I would love to test this out, how can I proceed? I have been wanting to have a requestor that matches the same data I see on Sonarr.

Hello,

Normally you just have to follow these instructions: https://docs.jellyseerr.dev/getting-started/buildfromsource

tests are failing, I'll solve the problem

TOomaAh avatar Aug 30 '25 17:08 TOomaAh

Is the preview docker image up-to-date with the latest changes?

veselin-antonov avatar Aug 31 '25 00:08 veselin-antonov

Also, what language is used for the request to the TVDB API? Is there a setting for this, is some existing setting being used or is it just not being passed?

veselin-antonov avatar Aug 31 '25 03:08 veselin-antonov