Page 2 of 2

Re: New subtitles take forever to get into api

Posted: Tue May 02, 2017 11:04 pm
by vespino
Haha, me neither! I love problems solving themselves.

Re: New subtitles take forever to get into api

Posted: Tue May 02, 2017 11:05 pm
by vespino
Haha, me neither! I love problems solving themselves.

Re: New subtitles take forever to get into api

Posted: Fri May 05, 2017 8:41 am
by vespino
Still some issues, e.g.:

(
[query] => prison.break.sequel.2017
[sublanguageid] => dut
[season] => 5
[episode] => 5
)

This sub can be downloaded from the website, but it's not in the API. The following only returns 1 episode/2 subs, while there are 5:

(
[query] => prison break sequel 2017
[sublanguageid] => dut
)

Maybe this serie is not indexed correctly?

Re: New subtitles take forever to get into api

Posted: Fri May 05, 2017 9:24 am
by oss
We are following IMDB numbering on imdb.com so check it out there before.

https://www.opensubtitles.org/en/ssearc ... vie-516053

Re: New subtitles take forever to get into api

Posted: Fri May 05, 2017 11:53 am
by vespino
I don't understand the answer. In trying to make it clear to me, I have tried the following requests, all without the expected results:

(
[imdbid] => 5537374
[sublanguageid] => dut
)

Returns S05E01

(
[query] => Prison Break: Resurrection
[sublanguageid] => dut
[season] => 5
[episode] => 5
)

Returns nothing

The following request does give results:

(
[query] => Prison Break: Resurrection
[sublanguageid] => dut
)

So I guess something is wrong with the season/episode index for this serie?

Re: New subtitles take forever to get into api

Posted: Fri May 05, 2017 11:56 am
by oss
Hi

answer is simple, go to https://www.opensubtitles.org/en/ssearc ... vie-516053

there you can see there is no season 5, so you can not get season 5. It is caused by different numbering on IMDB.

Please check IMDB page.

Re: New subtitles take forever to get into api

Posted: Fri May 05, 2017 12:04 pm
by vespino
Ah, ok, very clear now! Thanks.

Re: New subtitles take forever to get into api

Posted: Fri May 05, 2017 12:09 pm
by vespino
Maybe it's smart to also change the subs then? Prison.Break.S05E05.HDTV.x264-KILLERS.srt

Re: New subtitles take forever to get into api

Posted: Fri May 05, 2017 12:11 pm
by oss
in this case it is not best situation, because scene numbering and imdb numbering differs...

so there is no good solution. Leave the filenames as is and add them to right episodes on imdb numbering is OKaish.

Re: New subtitles take forever to get into api

Posted: Fri May 05, 2017 12:29 pm
by vespino
Ok, then I'll just have to fix it on my end.