Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[req]: Allow TMDB/TVDB/TVMAZE ids to be identified #14904

Open
1 task done
swannie-eire opened this issue Dec 12, 2023 · 0 comments
Open
1 task done

[req]: Allow TMDB/TVDB/TVMAZE ids to be identified #14904

swannie-eire opened this issue Dec 12, 2023 · 0 comments
Labels
Core Enhancement Needs C# PR Welcome! We would welcome a volunteer to prepare a PR to solve this problem!

Comments

@swannie-eire
Copy link
Contributor

Is there already a request for your feature?

  • I have checked older issues, open and closed

Is your feature request related to a problem? Please describe.

its is a night mare to search for TMDB and TVDB numbers as described in #14855

Unfortunately with the popularity of Unit3d TMDB seems to have become the norm and many of the files on those sites do not have IMDB id only TMDB IDs as they are mandatory where as IMDB IDs are not mandatory.

Allow TMDB/TVDB ids to be identified

If a imdb_id is in entered to search does jackett auto recognize this as an imdbid number due to the "tt" at the start and then search the indexer or all indexers using the param "imdb_id=tt0097176"

I know TMDB/TVDB just use number for IDs so it impossible to know what the ID is for but if i enter something that tells it that its TMDB could jackett detect it and then search for the TMDB ID. e.g if i entered TMDB123456 into search would jackett recognize this as TMDB id, parse the number after TMDB and search using the tmdbid param instead of searching indexer search field which often does not recognize the ID.

Describe the solution you'd like

If i enter TMDB123456 then Jacket should identify this as a TMDB number and parse the number after TMDB so in this case the id should be parsed and passed to the tmdbid param so tmdbid=123456

Same should be possible for TVDB and TVMaze

I will let ye decide the strings used to id the ID. I would suggest TMDB for TMDB, TVDB for TVDB and TVM for tvmaze.

In theory this should only need entries similar to this for each of the 3 indexers above.
if query.startwith("tmdb")
query.IstmdbQuery = True

(query.IstmdbQuery)
{
qc.Add("tmdbId", query.tmdbID);
}
else
{
qc.Add("search", query.GetQueryString());
}

Describe alternatives you've considered

i cant really think of any other options other than doing an API search using the TMDB param and that is a nightmare from a phone or something with a small screen.

It also does not seem to be possible with the Jackett UI.

Feel free to reach out should you have any questions.

@ilike2burnthing ilike2burnthing added Enhancement PR Welcome! We would welcome a volunteer to prepare a PR to solve this problem! Core Needs C# labels Dec 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Core Enhancement Needs C# PR Welcome! We would welcome a volunteer to prepare a PR to solve this problem!
Projects
None yet
Development

No branches or pull requests

2 participants