SubtitleProvider for MediaBrowser - New plugin

SubtitleProvider for MediaBrowser - New plugin

Postby Miksu » Mon Jan 11, 2010 5:31 pm

SubtitleProvider for MediaBrowser

About:
SubtitleProvider for MediaBrowser is a plugin that automatically downloads the missing subtitle files for your movies and tv shows.

Current version:
v1.1.1.2

How to use:
http://community.mediabrowser.tv/permal ... der-plugin

How it works:
This plugin works against http://www.opensubtitles.org and http://www.subtitlesource.org. There's no plan to add other subtitle sources at this point. The plugin's workflow contains two phases:
1. Checking of available subtitle file. If the video file is named "My.Movie(2009)-release.avi", the plugin tries to find either a file "My.Movie(2009)-release.sub" or "My.Movie(2009)-release.srt". If a subtitle file is found, processing ends.
2. If there's no subtitle file available, the plugin tries to find and download one. OpenSubtitles and SubtitleSource are currently supported subtitle sources. Matching the video against the subtitles is done based on the video's file size and hash (OpenSubtitles) or against the video's file name (SubtitleSource). If there's a match, the subtitle file is downloaded and extracted to the video folder. If needed, the subtitle file is also renamed to match the video file.

Configuration:
MediaBrowser Configuration Tool can be used to set preferred languages. Currently supported languages are:
-English
-Swedish
-Danish
-Norwegian
-Finnish
-Icelandic
-Spanish
-French
-Dutch

For example to make finnish the top priority language and english the fallback, use this string: Finnish,English

Known issues:

Future releases and features:
1. New ways to interact with the plugin
2. Extended configuration settings

Installation location: http://www.mediabrowser.tv/plugins/plugin_info.xml

Guide: http://community.mediabrowser.tv/permal ... der-plugin

Source code: http://github.com/mikoskinen/SubtitleProvider/

SubtitleProvider for MediaBrowser uses ZipStorer-library: http://zipstorer.codeplex.com/
SubtitleProvider for MediaBrowser uses XML-RPC.NET -library: http://www.xml-rpc.net/

Subtitles service allowed by http://www.OpenSubtitles.org
Last edited by Miksu on Wed Apr 07, 2010 5:14 pm, edited 10 times in total.
Miksu
 
Posts: 40
Joined: Mon Jan 11, 2010 6:53 am

Re: SubtitleProvider for MediaBrowser - New plugin

Postby birkoff » Mon Jan 11, 2010 7:14 pm

Can you provide some additional installation instructions for this?

What do you mean by "MediaBrowser Configuration Tool can be used to set preferred languages"? There is no such option as far as i can see.

Perhaps you can further integrate this into mediabrowser if Sam likes it.
http://community.mediabrowser.tv/permal ... r-dev-team

Also there is an API available on opensubtitles.org. perhaps you could integrate this as well.
http://trac.opensubtitles.org/projects/ ... iki/XMLRPC
birkoff
 
Posts: 997
Joined: Sat Jun 06, 2009 10:51 am
Location: The Netherlands

Re: SubtitleProvider for MediaBrowser - New plugin

Postby $hifty » Mon Jan 11, 2010 8:51 pm

Is ther a chance this will add fast hashing and check for
corresponding subittle downloads in a future version?

And a gui is always good.
$hifty
 
Posts: 66
Joined: Sat Jan 02, 2010 3:52 am

Re: SubtitleProvider for MediaBrowser - New plugin

Postby Miksu » Mon Jan 11, 2010 8:55 pm

birkoff wrote:Can you provide some additional installation instructions for this?

What do you mean by "MediaBrowser Configuration Tool can be used to set preferred languages"? There is no such option as far as i can see.


Yeah, this was badly worded by me. Here's a screenshot which hopefully illustrates the configuration:
Image

Installation requires that one downloads the zip-file from http://www.ohjelmistot.org/SubtitleProvider/ and extracts the included .DLL-file to C:\ProgramData\MediaBrowser\Plugins. After that the plugin can be configured through the MediaBrowser Configuration Tool like shown in the picture.

Sorry for the problematic installation. Hopefully tomorrow I find some time to implement the XML-installation file which simplifies the process.

Also there is an API available on opensubtitles.org. perhaps you could integrate this as well.
http://trac.opensubtitles.org/projects/ ... iki/XMLRPC


Yeah, OpenSubtitles.org is the next subtitle source I'm planning to integrate to the plugin. They offer some nice ways for finding the correct subtitles, like through the hash of the video file. Though after some brief testing it looks like that the hashing mechanism is used quite rarely because I had only little luck matching my video files to their hash data.
Miksu
 
Posts: 40
Joined: Mon Jan 11, 2010 6:53 am

Re: SubtitleProvider for MediaBrowser - New plugin

Postby Miksu » Mon Jan 11, 2010 9:12 pm

$hifty wrote:Is ther a chance this will add fast hashing and check for
corresponding subittle downloads in a future version?


Yes, if everything goes as planned this should be ready in few days. Even though the current file / directory name based search engine is working surprisingly well, it's always better to have more alternatives :)

And a gui is always good.


Is there some particular feature you would like to see in the GUI? Showing if the subtitle exists should be quite fast feature to implement but I'm wondering if something more is needed. Like a list of possible subtitles (if no exact match was found) from which the user could select one.

Any ideas / feedback about the possible GUI is greatly appreciated!
Miksu
 
Posts: 40
Joined: Mon Jan 11, 2010 6:53 am

Re: SubtitleProvider for MediaBrowser - New plugin

Postby $hifty » Mon Jan 11, 2010 9:19 pm

For me ide have to rely on hash checks for subtitle because of the way my files are named (auto rename files too)

as for the gui i would say
an auto option (Just auto download, when set off if more than 1 sub title apears avail to ask which 1)
Language option
like u said if the subtitles are avail indicator
folder monitering on/off

and think of anything else right now

see if u can do anthing with this http://subdownloader.net/ (may give u an idea)
downloads subs according to hash (i hate it)
$hifty
 
Posts: 66
Joined: Sat Jan 02, 2010 3:52 am

Re: SubtitleProvider for MediaBrowser - New plugin

Postby birkoff » Mon Jan 11, 2010 9:24 pm

Miksu wrote:Showing if the subtitle exists should be quite fast feature to implement but I'm wondering if something more is needed.


first, this would require that the information has to be stored in the movie .xml file or something similar.

There already is a topic about this on the Tracker: http://community.mediabrowser.tv/permal ... the-folder
The first thing we would need is the approval for a specific xml setting where this can be stored. That way the various tools know where to look and update information.

Second, the theme developers will have to pick this up and adjust their themes so the information can by displayed properly.

This is on my wish list :)
Perhaps you can get involved and post some design suggestions on the tracker so this can be discussed further.
birkoff
 
Posts: 997
Joined: Sat Jun 06, 2009 10:51 am
Location: The Netherlands

Re: SubtitleProvider for MediaBrowser - New plugin

Postby Modify_inc » Mon Jan 11, 2010 10:25 pm

I've never really understood subtitles completely so don't bash me here but I have a few questions. First I hate ripping a movie that has subtitles or should I say requires them. I never understand how to put them in my movies.

So this will automatically download a subtitle file for your movie? Will it do it for every movie or do you have to tell it which movies you prefer subtitles on? I didn't think VMC would play a subtitle file alongside a movie. I read that some players will like DivX I believe but not Media Center or even a extender like a 360.
Modify_inc
 
Posts: 32
Joined: Mon Jul 06, 2009 10:49 am

Re: SubtitleProvider for MediaBrowser - New plugin

Postby birkoff » Mon Jan 11, 2010 10:43 pm

Windows Media Center does play subtitle files alongside movies, but that is more of a codec thing than media center.
Extenders don't support subtitles, unless they're embedded.

as long as a movie and subtitle file are named identically and you have something live vobsub subtitles should work.
birkoff
 
Posts: 997
Joined: Sat Jun 06, 2009 10:51 am
Location: The Netherlands

Re: SubtitleProvider for MediaBrowser - New plugin

Postby dbone1026 » Mon Jan 11, 2010 11:41 pm

How would this work with forced subtitles? For instance, for District 9 I would only be interested in seeing the forced subtitles, not english subtitles for the entire movie. Same for Angels & Demons. Thanks.
dbone1026
 
Posts: 118
Joined: Fri Mar 27, 2009 3:09 pm

Next

Return to General Discussions



Who is online

Users browsing this forum: No registered users and 1 guest

cron