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.
pannal
Posts: 10
Joined: Fri Nov 20, 2015 1:34 am

Query for "foreign parts only"/forced subtitles

Sun Nov 27, 2016 5:35 am

Hey,

I'm the developer of Sub-Zero subtitles for Plex.

Recently I've been trying to filter subtitles of OpenSubtitles only by being foreign/forced. Currently, as it seems, that's only possible via matching the subtitle file name or the movie file name against "foreign" or "forced".

There is a "foreign parts only" filter on the website, though.


Would it be possible to add this to the API? Either as a query parameter or somewhere in the returned data?


Thank you!

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

Re: Query for "foreign parts only"/forced subtitles

Mon Nov 28, 2016 6:21 am

I understand. I add in returned data more details about subtitles:

Code: Select all

[SubAutoTranslation] => 0 [SubForeignPartsOnly] => 0 [SubFromTrusted] => 0
it will be fully active in 48 hours

pannal
Posts: 10
Joined: Fri Nov 20, 2015 1:34 am

Re: Query for "foreign parts only"/forced subtitles

Tue Nov 29, 2016 10:23 am

Great, thank you!

Return to “Developing”

Who is online

Users browsing this forum: No registered users and 28 guests