feat: add tvdb indexer#899
Conversation
|
This pull request has merge conflicts. Please resolve the conflicts so the PR can be successfully reviewed and merged. |
|
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. |
|
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
left a comment
There was a problem hiding this comment.
I didn't go into detail, but the overall looks good.
I'll make a more in-depth review later.
|
This pull request has merge conflicts. Please resolve the conflicts so the PR can be successfully reviewed and merged. |
|
This can be tested with the |
|
@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 |
|
This pull request has merge conflicts. Please resolve the conflicts so the PR can be successfully reviewed and merged. |
2ee5535 to
f447870
Compare
0fe1827 to
353d079
Compare
|
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. |
|
@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: |
a50524a to
7814fff
Compare
gauthier-th
left a comment
There was a problem hiding this comment.
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.
|
@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 |
|
Is the preview docker image up-to-date with the latest changes? |
|
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? |
No, the image is four months old: https://hub.docker.com/r/fallenbagel/jellyseerr/tags?name=preview-tvdb |
|
I just updated the preview tag: |
gauthier-th
left a comment
There was a problem hiding this comment.
LGTM, tested and everything seems fine!
| const season = await metadataProvider.getTvSeason({ | ||
| tvId: Number(req.params.id), | ||
| seasonNumber: Number(req.params.seasonNumber), | ||
| language: (req.query.language as string) ?? req.locale, |
There was a problem hiding this comment.
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):
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.
There was a problem hiding this comment.
Should I open a new GitHub issue with this problem?


Description
Available to test as
preview-tvdb.Screenshot (if UI-related)
To-Dos
pnpm buildpnpm i18n:extractIssues Fixed or Closed