Full request URL:
Code: Select all
https://api.opensubtitles.com/api/v1/subtitles?imdb_id=0119396&languages=en&moviehash=db70805db63d34b6&moviehash_match=only
Code: Select all
https://api.opensubtitles.com/api/v1/subtitles?imdb_id=0119396&languages=en&moviehash=db70805db63d34b6&moviehash_match=only
This continues from https://github.com/jellyfin/jellyfin-pl ... /issues/69
A few weeks ago the search subtitles endpoint stopped working because of moviehash, it was then fixed but required a query with the hash - since then the plugin has been updated to include the query.
Before the update the plugin sent the following if IMDb ID was known: moviehash + language + type + IMDb ID, if the ID was not known the plugin would send moviehash + language + type + query* + season & episode number for episodes
*Query for movies was the movie title (not file name) and for episodes the name of the TV show
After the update the following is sent:
moviehash + language + type + query* + IMDb ID (if known) + season & episode number if the ID is not known
*Query for movies was changed to file name (Baby Driver 2017 (1080p 6CH BR-HEVC PSA).mkv for example), episodes remained the same
It looks like the api now does not require query anymore so my questions are:
What data should the plugin send to get the most accurate results? If I have the IMDb ID do I use only that for identification or should I send query too? If yes should I use the file name or episode/TV show name for episodes and movie title for movies?
Why does imdb_id=4652838&languages=en&moviehash=f5ce84f53b4480f8&type=episode&query=Mr. Robot return results (19) but imdb_id=2912494&languages=en&moviehash=3918d747c95e5099&type=episode&query=The 100 doesn't? (same format and the website shows results for those episodes)
If I change the query from "The 100" to "Pilot" (name of the episode) I get results but if I change "Mr. Robot" to "eps1.0_hellofriend.mov" (also episode name) I get 0 results
And finally, what changes can be expected to the searching endpoint?
Users browsing this forum: No registered users and 3 guests