XBMC Community Forum  

Go Back   XBMC Community Forum > Help and Support > Plugin/Script (Python) Help and Support

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]", "[WINDOWS]", and "[XBOX]"

Reply
 
Thread Tools Search this Thread Display Modes
Old 2009-08-09, 17:07   #1
Amet
Team-XBMC Member
 
Amet's Avatar
 
Join Date: Jul 2009
Location: Novi Sad / Dubai
Posts: 501
Amet is on a distinguished road
Default [RELEASE]OpenSubtitles_OSD-Script

This script will download subtitles from OpenSubtitles.org , Sublight.si and podnapisi.net via OSD screen

Here is the script and modifications for MediaStream, MediaStream_Redux, MediaStream_Redux_Mod, Aeon and PM3.HD to show the Subtitle button next to the rest of the controls


OpenSubtitles_OSD v1.41 is out, it can be downloaded from XBMC repo installer under xbmc-addon section or XBMC Zone Installer

You are going to need one of the SVN builds > 22240 to use the latest version.
If you do not want to use SVN please use OpenSubtitles_OSD v1.28 and follow the manual install instructions.


If you are running Transparency! 2.01, Aeon Hitched, Rapier or PM3.HD from SVN >r23729 you need to enable Subtitle button under skin settings and set the path to the script, for other skins look under download section for available skin hacks.

New in Version 1.41

- Minor fix for Win users

New in Version 1.40

- Ability to download subs for RAR movies to the movie folder.Thanks Crayonman for testing on Linux.Works on RARs over SMB as well.

New in Version 1.39

- Script can save subtitles to SMB drive, you have to set SMB permissions correctly.

- resolved search error caused by OpenSubtitles and Podnapisi hash search.

- Automatically check for newer version, off by default.

- if installed via SVN repo installer, it will not install on incompatible XBMC version(< 22240)

New in Version 1.37

- Fixed script error on newer SVN builds


New in Version 1.36

- Search and Subtitle renaming on XBOX is now fixed, if you having trouble with subtitle not activating try disabling "Search for subtitles in RAR" under XBMC -->settings -->Video --> Subtitles. --- Thanks Bram77 for testing and the solution for disabling RARs

- German translation

For more changes, look at change Log

If anyone is willing to help translate to other languages please download translation.zip and follow the instructions included.





















Instructions:

--------------------------------------------------------------------------
1.) Install from XBMC repo installer under xbmc-addon section or XBMC Zone Installer

2.) Download the skin hack for the skin you are using

3.) Copy files from skin folders, media and 720p, to their respective places in your skin folders. Make sure you backup the original .xml files first.

--------------------------------------------------------------------------

Settings menu has changed in new version. To enter the settings go to Scripts:

Apple Tv: Highlight OpenSubtitles_OSD and hold "menu", then select script settings

Keyboard: Highlight OpenSubtitles_OSD and press "c", then select script settings

XBOX: Highlight OpenSubtitles_OSD and select 'Title' button on IR, then select script settings



Enjoy it!


Zeljko

Last edited by Amet; 2009-11-16 at 16:17.
Amet is offline   Reply With Quote
Old 2009-08-09, 19:38   #2
queeup
Fan
 
queeup's Avatar
 
Join Date: Feb 2009
Posts: 360
queeup is on a distinguished road
Default

wow. this is really good thing. Thx
queeup is offline   Reply With Quote
Old 2009-08-09, 19:45   #3
whufclee
Senior Member
 
Join Date: Oct 2008
Location: Basildon
Posts: 159
whufclee is on a distinguished road
Default

Absolute blinding addition - great work.

Just tried it on xbox (PM3.HD) and it is working pretty good, just a couple of little bugs:

1) I only have one .MP4 (Batman Begins.mp4) file in my library but when I try and get the subtitles for that one the xbox freezes. I'm guessing this must have something to do with the mp4 format as it's the only one I'm having problems with so far.

2) If you download the subtitles and then exit the film, load up another film and try to get subs for that one the system freezes. Small glitch really, personally I'm unlikely to be watching 2 films on the trot which I need subs for.

I've had "connection failed" a lot but I guess there's nothing that can be done there it's just a website problem. I also thought it was having problems with some filenames as some films were getting no results even after connecting ok but I've since found out that if you exit and try again it usually finds results (may take a couple of attempts though).

Any chance you could make a version for the Transparency! skin? I thought it would work as Transparency! is just a mod of PM3.HD but it didn't work on that skin for some reason.

All in all I am a very happy bunny today, hungover but excited by this great new addition - thanks for cheering me up on hangover day!!
whufclee is offline   Reply With Quote
Old 2009-08-09, 19:54   #4
Amet
Team-XBMC Member
 
Amet's Avatar
 
Join Date: Jul 2009
Location: Novi Sad / Dubai
Posts: 501
Amet is on a distinguished road
Default

Quote:
Originally Posted by whufclee View Post
Absolute blinding addition - great work.

Just tried it on xbox (PM3.HD) and it is working pretty good, just a couple of little bugs:

1) I only have one .MP4 (Batman Begins.mp4) file in my library but when I try and get the subtitles for that one the xbox freezes. I'm guessing this must have something to do with the mp4 format as it's the only one I'm having problems with so far.

2) If you download the subtitles and then exit the film, load up another film and try to get subs for that one the system freezes. Small glitch really, personally I'm unlikely to be watching 2 films on the trot which I need subs for.

I've had "connection failed" a lot but I guess there's nothing that can be done there it's just a website problem. I also thought it was having problems with some filenames as some films were getting no results even after connecting ok but I've since found out that if you exit and try again it usually finds results (may take a couple of attempts though).

Any chance you could make a version for the Transparency! skin? I thought it would work as Transparency! is just a mod of PM3.HD but it didn't work on that skin for some reason.

All in all I am a very happy bunny today, hungover but excited by this great new addition - thanks for cheering me up on hangover day!!

I am glad that you liked it

Connection error is due to the website , nothing I can do there

As for your issue with loading the subs for second movie can you please post your log file. I dont have a XBOX and unfortunately I cant replicate the problem.

I will work on Transparency! mod later today and post results.


Zeljko
Amet is offline   Reply With Quote
Old 2009-08-09, 20:50   #5
Amet
Team-XBMC Member
 
Amet's Avatar
 
Join Date: Jul 2009
Location: Novi Sad / Dubai
Posts: 501
Amet is on a distinguished road
Default

Quote:
Originally Posted by whufclee View Post
Absolute blinding addition - great work.

Just tried it on xbox (PM3.HD) and it is working pretty good, just a couple of little bugs:

1) I only have one .MP4 (Batman Begins.mp4) file in my library but when I try and get the subtitles for that one the xbox freezes. I'm guessing this must have something to do with the mp4 format as it's the only one I'm having problems with so far.

2) If you download the subtitles and then exit the film, load up another film and try to get subs for that one the system freezes. Small glitch really, personally I'm unlikely to be watching 2 films on the trot which I need subs for.

I've had "connection failed" a lot but I guess there's nothing that can be done there it's just a website problem. I also thought it was having problems with some filenames as some films were getting no results even after connecting ok but I've since found out that if you exit and try again it usually finds results (may take a couple of attempts though).

Any chance you could make a version for the Transparency! skin? I thought it would work as Transparency! is just a mod of PM3.HD but it didn't work on that skin for some reason.

All in all I am a very happy bunny today, hungover but excited by this great new addition - thanks for cheering me up on hangover day!!
Trancparency! support added on the first post.

I had to shift he menu to the left, on AppleTv the menu stays on the screen.

Please check it and let me know what you think

Zeljko
Amet is offline   Reply With Quote
Old 2009-08-09, 21:22   #6
whufclee
Senior Member
 
Join Date: Oct 2008
Location: Basildon
Posts: 159
whufclee is on a distinguished road
Default

Wow you're on fire today, that was quick!

Just tried the transparency! one but unfortunately it's not working. The "Download Subtitles" button is on the menu but when I click on it I get a python script error. Here is my debug log if it's any use to you http://pastebin.com/m104c0218

Very odd, I don't know why the skin would make any difference to the python script but then again I'm no programmer so what do I know... definately works on PM3.HD though.
whufclee is offline   Reply With Quote
Old 2009-08-09, 21:36   #7
Amet
Team-XBMC Member
 
Amet's Avatar
 
Join Date: Jul 2009
Location: Novi Sad / Dubai
Posts: 501
Amet is on a distinguished road
Default

Quote:
Originally Posted by whufclee View Post
Wow you're on fire today, that was quick!

Just tried the transparency! one but unfortunately it's not working. The "Download Subtitles" button is on the menu but when I click on it I get a python script error. Here is my debug log if it's any use to you http://pastebin.com/m104c0218

Very odd, I don't know why the skin would make any difference to the python script but then again I'm no programmer so what do I know... definately works on PM3.HD though.

Hi,

Sorry about that.

it looks like the Script had a problem with "!" in Transparency!

Please, can you try again and let me know?

I updated the link on first page.

Thanks, I do appreciate the test work you doing.

Zeljko
Amet is offline   Reply With Quote
Old 2009-08-10, 00:05   #8
whufclee
Senior Member
 
Join Date: Oct 2008
Location: Basildon
Posts: 159
whufclee is on a distinguished road
Default

Well done mate, that works a treat with the transparency! skin now.

Thanks for that your work is much appreciated.
whufclee is offline   Reply With Quote
Old 2009-08-10, 00:57   #9
Amet
Team-XBMC Member
 
Amet's Avatar
 
Join Date: Jul 2009
Location: Novi Sad / Dubai
Posts: 501
Amet is on a distinguished road
Default

Quote:
Originally Posted by whufclee View Post
Well done mate, that works a treat with the transparency! skin now.

Thanks for that your work is much appreciated.
No worries, glad that it worked out

Thanks a lot for testing on XBOX.

Zeljko
Amet is offline   Reply With Quote
Old 2009-08-10, 00:58   #10
greatant1337
Senior Member
 
greatant1337's Avatar
 
Join Date: Jul 2008
Location: Gold Coast, Australia
Posts: 171
greatant1337 is on a distinguished road
Default

Thanks for this!

Testing on win32 and xbox now.
greatant1337 is offline   Reply With Quote
Reply

Bookmarks

Tags
opensubtitles, opensubtitles_osd, subtitles


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

Forum Jump


All times are GMT +2. The time now is 03:30.


Protected by Akismet, We recommend WordPress blogs
Copyright © 2008, XBMC Project