OpenSubtitles.org downloader script

  Thread Rating:
  • 2 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Bram77 Offline
Skilled Python Coder
Posts: 1,327
Joined: Feb 2008
Reputation: 27
Location: Netherlands
Post: #41
Thank you for helping out!

At this moment the only thing the script does is lock up my XBOX. I have to restart the XBOX manually to regain control. This is with and without the PAL patch and/or osdb.py patch.

I did a fresh installation (complete format) of XBMC yesterday. So I'm using the latest T3CH build (T3CH XBMC 2008-05-18 SVN rev13120-REPACK). I've downloaded the OpenSubtitles script today with the "xbmc-addons installer plugin" (three times, to be sure file corruption is not causing this). All other python scripts I use are running as expected (Revision3, XoT UZG, Youtube2a, T3CH Upgrader, MyTV, StreamplugServer).

Anything I can do to help out with fixing the problem? There's not much I could have done wrong. Maybe I should clear my cache, once I know where to find it?

[Image: widget]

Please add to my reputation if you find my posts usefull (+/- button below posts)
Ubuntu 12.10 minimal XBMC auto-install script :: XBMControl :: Xbmc XBOX Skins :: XBMControl for Android :: Owner of Sudo Systems
find quote
san Offline
Junior Member
Posts: 42
Joined: Jan 2004
Reputation: 0
Post: #42
Imho this should be integrated in xbmc itself as it provides essential information. Just like cddb and imdb lookups. I'm not that fond of the scripts myself. There happen to be to much scripts that lock up my xbox or do not work at all.

I hope this feature will find it's way to xbmc since downloading subs manually is soooooooo 2007 Wink
find quote
Bram77 Offline
Skilled Python Coder
Posts: 1,327
Joined: Feb 2008
Reputation: 27
Location: Netherlands
Post: #43
I totally agree to that. It's great that there is a site that offers almost all available subtitles and also the option to write your own app to manage the subtitles on their site.

[Image: widget]

Please add to my reputation if you find my posts usefull (+/- button below posts)
Ubuntu 12.10 minimal XBMC auto-install script :: XBMControl :: Xbmc XBOX Skins :: XBMControl for Android :: Owner of Sudo Systems
find quote
Bram77 Offline
Skilled Python Coder
Posts: 1,327
Joined: Feb 2008
Reputation: 27
Location: Netherlands
Post: #44
I've done the dutch translation for this plugin

http://www.kraak-forum.nl/remote/XBMC/Op.../dutch.rar


* Really hoping this plugin will be fixed. I tried it myself. I have no Python experience but the language is really easy to read, I found out. Still, I can't figure out what is going wrong. I thought it might be because of the absence of the Dutch language file (I'm using the dutch language for XBMC). So I created it, but this didn't fix it.

Then I found out that url http://dev.opensubtitles.org/xml-rpc is not working (it's in resources/lib/osdb.py line 13)...

Code:
date: June 5, 2008, 9:47 pm query: call online_insert_src('84.27.77.250', 'prg') error: Table 'dev_subtitles.subs_online' doesn't exist Requested page is temporarily unavailable, please try again later.

...the page tells me.
But I can't figure out where it goes wrong...

Maybe the updater makes the xbox crash, because it alwas happens right after I start the script. Befora a dialog or Modal is opened. There is a lot of hard coded stuff in resources/lib/update.py. If anything changes in the directory structure or filenames on http://xbmc-scripting.googlecode.com/svn there might be trouble. But I don't know enough about Python or XBMC scripts to be able to figure it out. Maybe someone who knows a bit more about this stuff can help out?

I've put the patched OpenSubtitles Script (PAL and osdb.py from Smuto and dutch language file) on my server to make it easier to access.

http://www.kraak-forum.nl/remote/XBMC/Op...titles.rar

[Image: widget]

Please add to my reputation if you find my posts usefull (+/- button below posts)
Ubuntu 12.10 minimal XBMC auto-install script :: XBMControl :: Xbmc XBOX Skins :: XBMControl for Android :: Owner of Sudo Systems
find quote
smuto Offline
Senior Member
Posts: 243
Joined: Sep 2004
Reputation: 2
Post: #45
@Bram77

try this script with Basics-Vision skin
make sure u set all settings
Username, Password, Subtitles folder

i'm still use it without problems

[Image: 1.png]
find quote
smuto Offline
Senior Member
Posts: 243
Joined: Sep 2004
Reputation: 2
Post: #46
& remove your language file - not all strings can be in UTF encoding

[Image: 1.png]
find quote
Bram77 Offline
Skilled Python Coder
Posts: 1,327
Joined: Feb 2008
Reputation: 27
Location: Netherlands
Post: #47
Ok, thanks. Did that. The basic-vision skin does prevent XBMC from crashing, although I get a 411 error (it won't work, with the correct username/password and subtitle folder).

But the basic vision skin doesn't have the WAF (wife approval factor). So I'm stuck with PMIII. I've been playing with skin files for three hours now. But no luck. I can't figure it out. I'll give it another try tomorrow....

[Image: widget]

Please add to my reputation if you find my posts usefull (+/- button below posts)
Ubuntu 12.10 minimal XBMC auto-install script :: XBMControl :: Xbmc XBOX Skins :: XBMControl for Android :: Owner of Sudo Systems
find quote
Bram77 Offline
Skilled Python Coder
Posts: 1,327
Joined: Feb 2008
Reputation: 27
Location: Netherlands
Post: #48
Anyone with skinning skills interested in making this plugin work with other skins then "Basic Vision" (which is the case now)? It would be very much appreciated! Not only by me (please yell of you agree!).

[Image: widget]

Please add to my reputation if you find my posts usefull (+/- button below posts)
Ubuntu 12.10 minimal XBMC auto-install script :: XBMControl :: Xbmc XBOX Skins :: XBMControl for Android :: Owner of Sudo Systems
find quote
[2ge] Offline
Admin of OpenSubtitles.org
Posts: 25
Joined: Nov 2006
Reputation: 0
Post: #49
hi all,

opensubtitles.org coder speaking Smile nice to see, this script is being a little bit developed, ofcourse I want to have it in default instalation in XBMC, also implemented like IMDB and so on, but I am not develoepr of XBMC.

I played a little bit of this script, and cannot get it work, all patches applied, I can setup username/password, but for "Search" button - sometimes no filemanager dialog appears (better said, sometimes it appear), but I cannot select any file, so...

Anyway, I am writing instructions how to implement this in programs, check this:

http://trac.opensubtitles.org/projects/opensubtitles

[Image: 468x60_1.jpg]
find quote
Gamester17 Offline
Team-XBMC Forum Moderator
Posts: 10,595
Joined: Sep 2003
Reputation: 9
Location: Sweden
Post: #50
@[2ge], if you happen to be a Mac user then I can send you an invite to become a Boxee alpha tester so that you can checkout how they modified and implemented this script (as an alpha tester you get access to their SVN for the source code), ...it is working very niclely in Boxee, (they have integrated into the skin so it looks and feels like it is a native function even though it is a python script).

PM me if you are interested.

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
Post Reply