![]() |
|
|||||||
| Plugin/Script (Python) Help and Support Python requests/suggestions, support, bugs, and everything python goes in here! Please, add platform prefix to threads that are not platform-independent!: Thread prefixes; "[LINUX]", "[LIVE]", "[MAC]", and "[WINDOWS]" |
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
|
#1 |
|
http://www.xbmc4xbox.org/
Join Date: Sep 2004
Posts: 1,012
![]() ![]() |
"Video" plugin to download subtitles from OpenSubtitles.org.
Not a full replacement for OpenSubtitles script, as it doesn't support a lot of things, like searching for subtitles for a movie while playing and all that, I wanted to write this as a plugin as I found Leo's script locking sometimes on Xbox and man , I banged my head today against a slow OpenSubtitles.org, failing a lot, but I think I handled most of the cases where it cannot connect, login and all that...I haven't decided whether to leave it as a "video" plugin, I was thinking it might be easier to access if it's close to video sources, but I'm just thinking now that maybe if it's a program plugin, that allows you to download a subtitles, go straight back to main menu leaving the plugin open, go to video sources, try it on and then if it doesn't work properly, get back into the still open plugin program and try another one without going through the whole process again... Anyways, waiting on feedback on that one... Download:
Screenshots: Changes
__________________
Video plugins: Microsoft Channel 9 Videos | GameSpot Videos | Eurogamer TV | GameTrailers | Games On Net | OpenSubtitles | Sublight Program plugins: XBMC Zone Installer | XBMC SVN Installer | XBMC Xbox Trac Changelog | Notepad Pictures plugin: Comics.com Last edited by Dan Dare; 2009-09-19 at 01:03. |
|
|
|
|
|
#2 |
|
Skilled Python Coder
Join Date: Feb 2008
Location: Netherlands
Posts: 878
![]() |
Great, I will test it asap!
Are you aware of Sublight...which might offer another option which could be more reliable then opensubtitles. http://www.subtitles-on.net/Home.aspx
__________________
XBMControl - topic :: A compact remote XBMC controller for Windows XBMControl-Evo - topic :: A mono/glad based remote XBMC controller XBMCweb :: A Javascript library for use with the new JSON-RPC api (wip) Xbmc XBOX Skins - topic :: A collection of 'modded for speed' and XBOX capable skins (I'm only maintaining the repo!, credits go to the skins modders and developers) |
|
|
|
|
|
#3 |
|
http://www.xbmc4xbox.org/
Join Date: Sep 2004
Posts: 1,012
![]() ![]() |
@Bram77
I might look into that, thanks.
__________________
Video plugins: Microsoft Channel 9 Videos | GameSpot Videos | Eurogamer TV | GameTrailers | Games On Net | OpenSubtitles | Sublight Program plugins: XBMC Zone Installer | XBMC SVN Installer | XBMC Xbox Trac Changelog | Notepad Pictures plugin: Comics.com |
|
|
|
|
|
#4 |
|
Member
Join Date: Dec 2008
Posts: 33
![]() |
It works really well for me, unlike the OpenSubtitles script. I like the fact that it's a plugin. However I do have a few suggestions.
The plugin only sees avi files. It would be nice if it saw mkv files (amongst others, for example ogm) to. Not really that important and I'm guessing the flag icons are a placeholder anyway but could you replace them with a higher res version? They look extremely blurry and pixelated. That's it really. You did a great job. I like the idea of being able to limit the search results based on preferred subtitle language. I hope this will be one of the first things you'll add to the plugin. I agree there needs to be an easier way to get to the plugin. It would be cool if you could access it form the video OSD but I don't think that's possible. Last, I couldn't care less for automatic subtitle downloading. Many thanks. |
|
|
|
|
|
#5 |
|
Member
Join Date: Oct 2008
Location: Stockholm, Sweden
Posts: 75
![]() |
|
|
|
|
|
|
#6 |
|
http://www.xbmc4xbox.org/
Join Date: Sep 2004
Posts: 1,012
![]() ![]() |
@Sora
Thanks, man, you're welcome. I only tested with .avis, but that's a good suggestion, I'll see if I can get a full list of video extensions, maybe even get the list from OpenSubtitles, I'll make the change today. No, I don't think plugins allow that - I think the solution is to ask XBMC Team for a enhancement request to allow to integrate subtitle providers in the movie contextual menu. It would be nice an integrated upload feature in XBMC as well, what the guys from OpenSubtitles suggest, that if you already have a subtitle and you play that for something like 80%, when finished maybe ask the user or automatically upload the subtitle on their website. For now, the only thing I can do to make it easier is do like OpenSubtitles script does, start the movie, leave it playing in the background then run the plugin and maybe have another plugin menu option or even detect that a video is running, search for subtitles, download one, go back to the movie in full screen, browse for the subtitle & try it one and then repeat the process until you get one right. I got the flags from OpenSubtitles.org website, they are fairly small indeed and when enlarged they look blurry, I'll see if I can find better ones - if anyone has a web resource, please let me know.
__________________
Video plugins: Microsoft Channel 9 Videos | GameSpot Videos | Eurogamer TV | GameTrailers | Games On Net | OpenSubtitles | Sublight Program plugins: XBMC Zone Installer | XBMC SVN Installer | XBMC Xbox Trac Changelog | Notepad Pictures plugin: Comics.com |
|
|
|
|
|
#7 |
|
Senior Member
Join Date: Aug 2008
Posts: 178
![]() |
__________________
MBP late 2009 - TimeCapsule 2TB - Harmony One - WD Green 1TB - 2x 750GB Seagate - AppleTV 320Gb v3.0 |
|
|
|
|
|
#8 |
|
Member
Join Date: Dec 2008
Posts: 33
![]() |
Maybe this can help.
- XBMC Wiki: Supported container formats - Flags, Encarta - Flags by countrie, FOTW - EU and US flags from Blogpatato All seem to be free to use. Last edited by Sora; 2009-04-27 at 15:57. |
|
|
|
|
|
#9 |
|
http://www.xbmc4xbox.org/
Join Date: Sep 2004
Posts: 1,012
![]() ![]() |
@Sora,
Thanks, helpful links. Encarta flags look good, I found this as well, http://www.33ff.com/flags/world-flags0001.html, plenty to choose from :-) @idioteque Pffff, that looks like a bit more work, as I don't see any XML-RPC service like OpenSubtitles.org have, that means there'll be some HTML parsing involved, it looks possible, but I won't commit, sorry...
__________________
Video plugins: Microsoft Channel 9 Videos | GameSpot Videos | Eurogamer TV | GameTrailers | Games On Net | OpenSubtitles | Sublight Program plugins: XBMC Zone Installer | XBMC SVN Installer | XBMC Xbox Trac Changelog | Notepad Pictures plugin: Comics.com |
|
|
|
|
|
#10 |
|
Member
Join Date: Oct 2008
Location: Stockholm, Sweden
Posts: 75
![]() |
Hi now Iīve tested it, it says: "unable to login. check your network connection and try again".
Do I need to add my username somewhere? sincery //Talle |
|
|
|
![]() |
| Bookmarks |
| Tags |
| opensubtitles.org, plugin, plugins, subs, subtitle, subtitles |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|