Skip to content

feat: add tvdb indexer#899

Merged
gauthier-th merged 59 commits intoseerr-team:developfrom
TOomaAh:feat-add-tvdb-indexer
Sep 2, 2025
Merged

feat: add tvdb indexer#899
gauthier-th merged 59 commits intoseerr-team:developfrom
TOomaAh:feat-add-tvdb-indexer

Conversation

@TOomaAh
Copy link
Copy Markdown
Contributor

@TOomaAh TOomaAh commented Jul 26, 2024

Description

Available to test as preview-tvdb.

Screenshot (if UI-related)

To-Dos

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

Issues Fixed or Closed

  • Fixes #XXXX

@fallenbagel fallenbagel changed the title Feat add tvdb indexer feat: add tvdb indexer Jul 27, 2024
@github-actions github-actions bot added the merge conflict Cannot merge due to merge conflicts label Aug 7, 2024
@github-actions
Copy link
Copy Markdown

github-actions bot commented Aug 7, 2024

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

@DjordyKoert
Copy link
Copy Markdown

DjordyKoert commented Oct 19, 2024

Any update on this feature? 👀

I think this would help with the issue described here #648

@TOomaAh
Copy link
Copy Markdown
Contributor Author

TOomaAh commented Oct 19, 2024

Any update on this feature? 👀

I think this would help with the issue described here #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.

@github-actions github-actions bot removed the merge conflict Cannot merge due to merge conflicts label Oct 19, 2024
@gauthier-th
Copy link
Copy Markdown
Member

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

@TOomaAh
Copy link
Copy Markdown
Contributor Author

TOomaAh commented Oct 27, 2024

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.

@gauthier-th gauthier-th marked this pull request as ready for review October 28, 2024 21:30
Copy link
Copy Markdown
Member

@gauthier-th gauthier-th left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't go into detail, but the overall looks good.
I'll make a more in-depth review later.

@github-actions
Copy link
Copy Markdown

github-actions bot commented Nov 3, 2024

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

@github-actions github-actions bot added merge conflict Cannot merge due to merge conflicts and removed merge conflict Cannot merge due to merge conflicts labels Nov 3, 2024
@gauthier-th
Copy link
Copy Markdown
Member

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

@gauthier-th gauthier-th added the preview PRs deployed for testing with tag `:preview-prxx` label Nov 17, 2024
@gauthier-th
Copy link
Copy Markdown
Member

gauthier-th commented Nov 17, 2024

@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

@github-actions github-actions bot added the merge conflict Cannot merge due to merge conflicts label Nov 20, 2024
@github-actions
Copy link
Copy Markdown

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

@TOomaAh TOomaAh force-pushed the feat-add-tvdb-indexer branch from 2ee5535 to f447870 Compare December 12, 2024 00:55
@github-actions github-actions bot removed the merge conflict Cannot merge due to merge conflicts label Dec 12, 2024
@TOomaAh TOomaAh force-pushed the feat-add-tvdb-indexer branch 2 times, most recently from 0fe1827 to 353d079 Compare January 15, 2025 17:43
@markus101
Copy link
Copy Markdown

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.

@fallenbagel
Copy link
Copy Markdown
Collaborator

@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:
#1250 (comment)

@TOomaAh TOomaAh force-pushed the feat-add-tvdb-indexer branch from a50524a to 7814fff Compare August 22, 2025 22:37
@github-actions github-actions bot removed the merge conflict Cannot merge due to merge conflicts label Aug 22, 2025
Copy link
Copy Markdown
Member

@gauthier-th gauthier-th left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall looks good! Nice work 😉

There are some inconsistencies with the naming of the metadata indexer (sometimes "Indexer", sometime "Metadata Provider", sometimes "Provider", etc.).
IMO we should stick with "Metadata Provider" everywhere, to avoid the possible confusion with the "Indexer" term and to stay explicit.

@samirbilalmemon
Copy link
Copy Markdown

samirbilalmemon commented Aug 30, 2025

@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.

@TOomaAh
Copy link
Copy Markdown
Contributor Author

TOomaAh commented Aug 30, 2025

@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

@veselin-antonov
Copy link
Copy Markdown
Contributor

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

@veselin-antonov
Copy link
Copy Markdown
Contributor

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?

@TOomaAh
Copy link
Copy Markdown
Contributor Author

TOomaAh commented Aug 31, 2025

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

No, the image is four months old: https://hub.docker.com/r/fallenbagel/jellyseerr/tags?name=preview-tvdb

@gauthier-th
Copy link
Copy Markdown
Member

I just updated the preview tag: preview-tvdb. Will be available in ~30min.

Copy link
Copy Markdown
Member

@gauthier-th gauthier-th left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, tested and everything seems fine!

@gauthier-th gauthier-th merged commit 22b2824 into seerr-team:develop Sep 2, 2025
8 checks passed
const season = await metadataProvider.getTvSeason({
tvId: Number(req.params.id),
seasonNumber: Number(req.params.seasonNumber),
language: (req.query.language as string) ?? req.locale,
Copy link
Copy Markdown
Contributor

@veselin-antonov veselin-antonov Sep 2, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am guessing that this change is the reason that now the episode names come in the original language of the show instead of the display language of the user (ex. Sakamoto Days - Japanese instead of Emglish):

Current version:
image

TVDB Preview:
image

Same settings, just the docker image tag is changed between the screenshot. Maybe it is was unintentional, maybe it has a reason, I so not know but I think it should be looked into.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should I open a new GitHub issue with this problem?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes please.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The issue is #1888

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

preview PRs deployed for testing with tag `:preview-prxx`

Projects

None yet

Development

Successfully merging this pull request may close these issues.