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.

Would you use this feature ?

Yes
100%
1
No
No votes
0
I didn't get it
No votes
0
 
Total votes: 1
dasebasto
Posts: 5
Joined: Sat Mar 06, 2010 9:10 pm

Feature request : batch download via NAME search.

Sat Mar 06, 2010 9:28 pm

Hi there,

I've been trying several subs downloaders (SubDownloader, Sublight, SolEol, vrokSub), and have not yet found the right one for me.

I'm gonna explain the feature they all lack and that could almost change my life.
Here's what the perfect sub downloader should be able to do :

For each movie file in a folder :

1) Search subs via a hashing method

2) If a sub is found, we're done. ELSE -->

3) Search sub using NAME method (imdb name and/or name contained in filename or folder name)

4) Download the 3 or 4 most relevant results form previous search.


When the time comes i wanna watch a movie for which no hash sub was found, i would then just have to try and find the correctly synchronized sub, among 3 or 4 files already stored in the right folder.



"Manual" search already exists in most of OS based applications, so the implementation should not be so hard.

To users and developers, what do you think about this feature ?

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

Sun Mar 07, 2010 12:49 pm

this is just way how are using programs opensubtitles API. If they implement it, that's question.

If you need some changes in API, let me know.

dasebasto
Posts: 5
Joined: Sat Mar 06, 2010 9:10 pm

Sun Mar 07, 2010 9:56 pm

You're saying that the OS API definitely allows to do that, right ?

I myself am not a skilled programmer, so making a new app is not really an option.
But I think a modification of an existing program (SubDownloader ?) would not require so much work. (and i am willing to contribute if needed).

johan_lunds
Posts: 9
Joined: Mon Feb 25, 2008 1:44 am

Tue Mar 09, 2010 1:25 am

You can browse the source code to SubDownloader here. Or if you'd rather download the code, here's that link: http://launchpad.net/subdownloader/trun ... .10.tar.gz (found on this page). SubDownloader is implemented in a programming language called Python (read Wikipedia). If you want to learn that, here's a good beginner's tutorial.

It's probably easiest to start trying to make changes in the command line client of Subdownloader. That file is named /cli/main.py. The code that handles connecting to OpenSubtitles.org (using their XMLRPC API) is in /modules/SDService.py. For example look in the functions _DownloadSubtitles, _SearchSubtitles and _SearchMoviesOnIMDB. When searching by hashes Subdownloader uses _SearchSubtitles with video-objects passed as an argument. When searching by name it first uses _SearchMoviesOnIMDB and then uses the found IMDB-ids to pass as an argument to _SearchSubtitles.

That should be enough to get you started if you want.

dasebasto
Posts: 5
Joined: Sat Mar 06, 2010 9:10 pm

Wed Mar 10, 2010 7:46 pm

Thanks for the information,

I'll take a look and see if can contribute.

dasebasto
Posts: 5
Joined: Sat Mar 06, 2010 9:10 pm

Thu Mar 11, 2010 5:03 pm

I cannot get to run CLI from the sources, either by "pyton run.py" or by pyton "cli/main.py"

User avatar
eduo
Posts: 716
Joined: Sat Feb 10, 2007 1:40 am
Location: Information Technology
Contact: ICQ Website Yahoo Messenger

Tue Mar 30, 2010 10:07 pm

Actually, unless i'm mistaken I was one of the debs actively requesting name and imdb searches so I could use it for soleol.

I've been about to implement it several times and what's thrown me back is that there is zero tv-series support and according to my numbers over 85% of the subs downloaded are for tv series videos.

Without proper tv series support searching by name is a crime to the users.

What I'm currently doing is adding imdb support for searching movies (but no tv series) and name-based searches in special cases.

I would never, though, provide a mechanism for downloading more than one sub per language per video, as it defeats the purpose of the app. I do think about providing a preview mechanism to be able to test different subs for suitability.
http://eduo.info/
[url=http://eduo.info/soleol/]OpenSubtitles from your desktop: SolEol for Mac/Windows/Linux[/url]
[url=http://forums.plexapp.com/index.php?showtopic=325&st=0&p=2480&#entry2480]My current episode processing work flow[/url].

Return to “Programs using OS”

Who is online

Users browsing this forum: No registered users and 24 guests