Forum rules
Under no circumstances is spamming or advertising of any kind allowed. Do not post any abusive, obscene, vulgar, slanderous, hateful, threatening, sexually-orientated or any other material that may violate others security. Profanity or any kind of insolent behavior to other members (regardless of rank) will not be tolerated. Remember, what you don’t find offensive can be offensive to other members. Please treat each other with the kind of reverence you’d expect from other members.
Failure to comply with any of the above will result in users being banned without notice. If any further details are needed, contact: “The team” using the link at the bottom of the forum page. Thank you.
vespino

Re: New subtitles take forever to get into api

Tue May 02, 2017 11:04 pm

Haha, me neither! I love problems solving themselves.

vespino

Re: New subtitles take forever to get into api

Tue May 02, 2017 11:05 pm

Haha, me neither! I love problems solving themselves.

vespino

Re: New subtitles take forever to get into api

Fri May 05, 2017 8:41 am

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?

User avatar
oss
Site Admin
Posts: 5879
Joined: Sat Feb 25, 2006 11:26 pm
Contact: Website

Re: New subtitles take forever to get into api

Fri May 05, 2017 9:24 am

We are following IMDB numbering on imdb.com so check it out there before.

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

vespino

Re: New subtitles take forever to get into api

Fri May 05, 2017 11:53 am

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?

User avatar
oss
Site Admin
Posts: 5879
Joined: Sat Feb 25, 2006 11:26 pm
Contact: Website

Re: New subtitles take forever to get into api

Fri May 05, 2017 11:56 am

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.


vespino

Re: New subtitles take forever to get into api

Fri May 05, 2017 12:09 pm

Maybe it's smart to also change the subs then? Prison.Break.S05E05.HDTV.x264-KILLERS.srt

User avatar
oss
Site Admin
Posts: 5879
Joined: Sat Feb 25, 2006 11:26 pm
Contact: Website

Re: New subtitles take forever to get into api

Fri May 05, 2017 12:11 pm

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.

vespino

Re: New subtitles take forever to get into api

Fri May 05, 2017 12:29 pm

Ok, then I'll just have to fix it on my end.

Return to “Developing”

Who is online

Users browsing this forum: No registered users and 23 guests