Open SurfaceS opened 1 year ago
It is attractive to not need this API anymore, however OpenSubtitles provides us with results based on file hash which is useful when the filename doesn't provide a match. So I think we would get less results if we removed it.
After a quick review on OMDb/Opensubtitles.
OMDb do not give a good series imdb id from episode IMDb data. OMDb do not provide episodes from series imdb data. (title/media v1/v2 are broken on real fetchs).
So basically on tests, mock fake real responses from OMDb API, but in real world, it fail.
New Opensubtitle now doesn't provide any info from IMDb but the IMDb id and TMDb ID. About episode, it accepts only hash for single episode.
@SurfaceS maybe it is time to use TMDB directly then, or to simplify this project to be simply a cache for TMDB so users don't hit their request limits
Any opinions @js-kyle ?
I think we can remove OSDB and OMDb.
It might still be good to have this project in between Java and TMDB, because then we don't need our users to enter their own TMDB keys.
We seem to be getting a lot of failures/timeouts from OMDb now in production and that is really affecting response times.
@SurfaceS OMDb has been removed now, and in the next 2 months, OpenSubtitles will stop working, so your original suggestion of using TMDB directly could be a good solution
You should create a new repo forked from my work : https://github.com/SurfaceS/tmdbapi/fork
I wrote this few months ago. I'll start using it for video metadata on v14.
@SurfaceS that is forked now
If we get ride of OMDb, do we really need OpenSubtitles, as it is mainly used to find the imdb id ?
Maybe I'm wrong but, if we are using only TMDB, we can implement TMDB directly on java side. On app, users can add a TMDB key on config (as it is easy/free to have key) or leave empty. App show them an advice that having a key is quicker.
If key, the app use direct TMDB requests with their own API key. If no key (default), the app ask the api server to request for them (like a relay with some security to prevent bad usage) ?
I think it's like other app do.