MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » General Forums » OffTopic


OffTopic All topics which are not about MediaPortal go in here. Anything goes, as long as we keep it nice.

Reply
 
Thread Tools Display Modes
Old 2008-03-25, 07:39   #1 (permalink)
Portal Member
 
Join Date: Dec 2005
Location: Thessaloniki
Age: 29
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


Lightbulb Automatic subtitle downloader


This command line program will automatically download subtitles for your movies, rename your movies using a customized format, create folders for your movies and download imdb covers and details. You just pass a folder path and a preferred language list and it searches for subtitles using your avi files. It uses opensubtitles for the search and it requires the .net 2 framework runtimes which you probably already have. More details here: VrokSub

Last edited by Vrokolos; 2008-04-03 at 18:28.
Vrokolos is offline   Reply With Quote
Old 2008-03-25, 09:54   #2 (permalink)
Portal Member
 
Bram's Avatar
 
Join Date: Dec 2005
Location: 's-Hertogenbosch
Age: 30
Posts: 850
Thanks: 20
Thanked 2 Times in 2 Posts

Country:

My System

Default

There already are some really nice subtitle downloaders!

Subdownloader is one of the beste -> subdownloader - Google Code


In XBMC (XboxMediaCenter) there is a plugin that uses the Opensubtitles api. This is something thats missing in MP, which is a shame I think!
__________________
Bram is offline   Reply With Quote
Old 2008-03-25, 10:01   #3 (permalink)
Portal Member
 
Join Date: Dec 2005
Location: Thessaloniki
Age: 29
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


Default

This one is command line so you can automate it before running mediaportal or from within some script while mediaportal is open
Vrokolos is offline   Reply With Quote
Old 2008-03-25, 12:25   #4 (permalink)
Retired Team Member
 
Join Date: Sep 2005
Posts: 618
Thanks: 5
Thanked 9 Times in 6 Posts

Country:

My System

Default

this works very very well

thx a lot, I have a few sugestions.

1: can you make the program run in the background with a switch /s ( silent)
2: is it possible to define your own movie name layout : %1 %y %CD I like my year to be in front for instance.
3: would it be possible to also be albe to rename the folder in which the film is
4: can other subtitle sites be added by regular expression ?
__________________
go to the new My Music Wiki, to expand the capabilities of your music collection:
http://wiki.team-mediaportal.com/UsingMyMusic

Last edited by idioteque; 2008-03-25 at 12:46.
idioteque is offline   Reply With Quote
Old 2008-03-25, 14:33   #5 (permalink)
Portal Member
 
Join Date: Dec 2005
Location: Thessaloniki
Age: 29
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


Default

For the first three i'll try to add them in next version.
The last one though I think I'll decline because
1) is a lot of work every time a webpage layout changes and
2) I feel bad about scraping another person's site
Vrokolos is offline   Reply With Quote
Old 2008-03-25, 14:50   #6 (permalink)
Portal Developer
 
gibman's Avatar
 
Join Date: Oct 2006
Location: Aarhus
Posts: 733
Thanks: 4
Thanked 68 Times in 51 Posts

Country:

My System

Default

Nice tool.

I would like to see the posibility to also make it possible to rename the folders where the movie is found in.

Also if a movie is found in the root of the defined folder, then create a subfolder and place the movie+subs there.

Having a folder renamed like "Moviename (Year) [subs]" would be great.
In MP we have currently no indication on which movies/folders contains subs.

If renaming a file, plz. create a dummy file with the old filename, incase one would need it.
Whatever u think is smartest.

/gibman
__________________
"It's all a big foodchain.
We eat shit and shit eats us."

Last edited by gibman; 2008-03-25 at 14:58.
gibman is offline   Reply With Quote
Old 2008-03-26, 17:33   #7 (permalink)
Retired Team Member
 
Join Date: Sep 2005
Posts: 618
Thanks: 5
Thanked 9 Times in 6 Posts

Country:

My System

Default

yes, keeping the old name would seen handy
__________________
go to the new My Music Wiki, to expand the capabilities of your music collection:
http://wiki.team-mediaportal.com/UsingMyMusic
idioteque is offline   Reply With Quote
Old 2008-03-26, 19:08   #8 (permalink)
Portal Member
 
Join Date: Dec 2005
Location: Thessaloniki
Age: 29
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


Default

If renaming a file, plz. create a dummy file with the old filename, incase one would need it

ok.. what about the extension? would .ren or something be ok for you?
I don't want to make a 0 zero bytes avi file.
Vrokolos is offline   Reply With Quote
Old 2008-03-26, 19:13   #9 (permalink)
Retired Team Member
 
Join Date: Sep 2005
Posts: 618
Thanks: 5
Thanked 9 Times in 6 Posts

Country:

My System

Default

just a 0 bit txt file with the old name

like : cocain-seu.avi.originalfilename

so if the sub is out of sync, than we still have the old name.

How about another option.

What if the sub is out of sync or just a bad sub, is there an option to try different subs?

cocain-seu.nl.srt is bad

cocain-seu.nl_1.srt
shoot em up.nl_2.srt alternative version

not sure how this would work gui style
__________________
go to the new My Music Wiki, to expand the capabilities of your music collection:
http://wiki.team-mediaportal.com/UsingMyMusic
idioteque is offline   Reply With Quote
Old 2008-03-26, 21:34   #10 (permalink)
Portal User
 
Join Date: Sep 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


Default

Nice tool but it doesn't work for me.

I got this error:

P:\BioDorisburg\vroksub>vroksub "n:\film\ej klar" sv,en

Found 8 Movie Files
Connecting...
Searching for subtitles...
Found subtitles:

Unhandled Exception: System.FormatException: Input string was not in a correct f
ormat.
at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffe
r& number, NumberFormatInfo info, Boolean parseDecimal)
at System.Number.ParseSingle(String value, NumberStyles options, NumberFormat
Info numfmt)
at System.Single.Parse(String s, NumberStyles style, NumberFormatInfo info)
at OSDbClient.MovieFile.SelectBestSubtitle(BindingLis t`1 subs, List`1 ls)
at OSDbClient.Program.Go(String FolderArg, String LangArg, Boolean overwrite,
Boolean rename, Boolean newOnly)
at OSDbClient.Program.Main(String[] args)
manula is offline   Reply With Quote
Reply

Bookmarks

Tags
automatic, downloader, subtitle

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
EPG Downloader Service for TV Server ONLY Big_Kev Electronic Program Guide 162 2008-11-21 13:46
EPG Downloader for TV Server Big_Kev Development 6 2008-07-04 05:11
Album Cover Art Downloader flamingfox Plugins 2 2007-08-21 18:43
[REQ] Subtitle downloader Bram Improvement Suggestions 4 2006-05-08 17:21
[Mediaportal Addons] Plugins/Codec - Downloader/Installer Lyxalig Plugins 6 2005-05-08 14:28


All times are GMT +1. The time now is 09:11.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress
Advertisement System V2.6 By   Branden