XBMC Community Forum
[DEPRECIATED] XBMC Subtitles - Addon Script (previously OpenSubtitles OSD) - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: Add-ons Help and Support (/forumdisplay.php?fid=27)
+---- Forum: Subtitle Add-ons (/forumdisplay.php?fid=143)
+---- Thread: [DEPRECIATED] XBMC Subtitles - Addon Script (previously OpenSubtitles OSD) (/showthread.php?tid=75437)



- bulldozer - 2011-01-29 20:51

It doesnt worked for me.
I have the subtitle script in /scripts/
When i played a movie i can not select the script.\
Im using xbmc for 1 week nowRolleyes


- amet - 2011-01-29 20:54

bulldozer Wrote:It doesnt worked for me.
I have the subtitle script in /scripts/
When i played a movie i can not select the script.\
Im using xbmc for 1 week nowRolleyes

why is it in /scripts/ ?

how are you trying to select the script?

what skin are you using?

have you read the first post?

where is your debug log?

have you read my signature?

welcome to the forums Smile


- bulldozer - 2011-01-29 21:46

hi,

Thanks for the fast reply!
i`ve put it in scripts because it is a script i think?
And yes i`ve read the first post i am now downloading
Current Stable Release: 10.0
I think that i have the wrong xbmc for xbox.
How do i make a debug log?


- amet - 2011-01-29 21:49

bulldozer Wrote:hi,

Thanks for the fast reply!
i`ve put it in scripts because it is a script i think?
And yes i`ve read the first post i am now downloading
Current Stable Release: 10.0
I think that i have the wrong xbmc for xbox.
How do i make a debug log?


its an addon, use addon manager to download

xbox? we dont have any release that will work on xbox

again, read my signature for debug log how to


- bulldozer - 2011-02-01 16:47

I run the last version of xbmc4xbox and i have the icefilm addon.
But when i want to search the subtitle by a movie,i can`t browse on internet,only local.
When i let it search by playing movie,i get a error message that the site is ofline or no sub found.
But the sub is there i know and the site is working.
Now,that is not a big problem,because i can search on my pc for the right sub and ftp it to the xbox and than run it with the opensubtitle osd addon.

But is it possible to let the sub addon browse online?
Is there anyone who has it working?
I use xbmc not long and am not very familiar with it.
Also the timing correction isn`t working in sub osd,I can change it but it does not affect , what do I do wrong?

thanks!


- Haohmaru - 2011-02-01 17:37

Can someone please add support for the biggest hungarian subtitle ( also eng subtitles) site with a database of 10 years ?

It has the following mirrors :
http://feliratok.na.tl/
http://feliratok.ro.lt/
http://feliratok.hs.vc/


- amet - 2011-02-01 20:52

bulldozer Wrote:I run the last version of xbmc4xbox and i have the icefilm addon.
But when i want to search the subtitle by a movie,i can`t browse on internet,only local.

When i let it search by playing movie,i get a error message that the site is ofline or no sub found.
But the sub is there i know and the site is working.
Now,that is not a big problem,because i can search on my pc for the right sub and ftp it to the xbox and than run it with the opensubtitle osd addon.

But is it possible to let the sub addon browse online?
Is there anyone who has it working?
I use xbmc not long and am not very familiar with it.
Also the timing correction isn`t working in sub osd,I can change it but it does not affect , what do I do wrong?

thanks!

what are you running on xbox? XBMC Subtitles? it is not supported or tested on xbox. can it even run on xbox?

if you are running OpenSubtitles_OSD , this is a wrong thread and there is no support for it anymore since Dharma came out and XBMC Subtitles replaced it


- Senaxx - 2011-02-01 23:12

XBMC @ ATV2

He find's the subtitles, although it keeps on hanging on downloading the subtitle.

Code:
01:48:50 T:165376000 M: 76627968   DEBUG: ### [XBMC Subtitles-gui] - Socket timeout: None
01:48:52 T:165376000 M: 76136448   DEBUG: ### [XBMC Subtitles-services.Bierdopje.service] -  downloading subtitles from url 'http://www.bierdopje.com/downloads/sub/47829/Family.Guy.S09E01.720p.HDTV.X264-DIMENSION/apikey/369C2ED4261DE9C3'
01:48:52 T:165376000 M: 76128256   DEBUG: ### [XBMC Subtitles-services.Bierdopje.service] -  saving subtitles to '/var/mobile/Library/Preferences/XBMC/userdata/addon_data/script.xbmc.subtitles/sub_tmp/bierdopje_subs.srt'
01:48:53 T:165376000 M: 76128256   ERROR: Exception in python script's onAction
01:48:53 T:165376000 M: 76128256  NOTICE: Traceback (most recent call last):
01:48:53 T:165376000 M: 76128256  NOTICE:   File "/var/mobile/Library/Preferences/XBMC/addons/script.xbmc.subtitles/resources/lib/gui.py", line 519, in onAction
01:48:53 T:165376000 M: 76120064  NOTICE: if ( action.getId() in CANCEL_DIALOG):
01:48:53 T:165376000 M: 76120064  NOTICE:   File "/var/mobile/Library/Preferences/XBMC/addons/script.xbmc.subtitles/resources/lib/gui.py", line 455, in onClick
01:48:53 T:165376000 M: 76103680  NOTICE: self.Download_Subtitles( self.getControl( SUBTITLES_LIST ).getSelectedPosition() )
01:48:53 T:165376000 M: 76103680  NOTICE:   File "/var/mobile/Library/Preferences/XBMC/addons/script.xbmc.subtitles/resources/lib/gui.py", line 287, in Download_Subtitles
01:48:53 T:165376000 M: 76103680  NOTICE: shutil.copyfile(file, file_path)
01:48:53 T:165376000 M: 76103680  NOTICE:   File "/private/var/stash/Applications/XBMC.frappliance/Frameworks/usr/lib/python2.6/shutil.py", line 53, in copyfile
01:48:53 T:165376000 M: 76099584  NOTICE: fdst = open(dst, 'wb')
01:48:53 T:165376000 M: 76099584  NOTICE: IOError
01:48:53 T:165376000 M: 76099584  NOTICE: :

if you look in the /sub_tmp/ he actually downloaded the file, but doesn't move it to the location, and display the sub.

My setup is

Series on a NAS, full r/w on a ATV2 latest build.


- amet - 2011-02-01 23:18

Senaxx Wrote:XBMC @ ATV2

He find's the subtitles, although it keeps on hanging on downloading the subtitle.

Code:
01:48:50 T:165376000 M: 76627968   DEBUG: ### [XBMC Subtitles-gui] - Socket timeout: None
01:48:52 T:165376000 M: 76136448   DEBUG: ### [XBMC Subtitles-services.Bierdopje.service] -  downloading subtitles from url 'http://www.bierdopje.com/downloads/sub/47829/Family.Guy.S09E01.720p.HDTV.X264-DIMENSION/apikey/369C2ED4261DE9C3'
01:48:52 T:165376000 M: 76128256   DEBUG: ### [XBMC Subtitles-services.Bierdopje.service] -  saving subtitles to '/var/mobile/Library/Preferences/XBMC/userdata/addon_data/script.xbmc.subtitles/sub_tmp/bierdopje_subs.srt'
01:48:53 T:165376000 M: 76128256   ERROR: Exception in python script's onAction
01:48:53 T:165376000 M: 76128256  NOTICE: Traceback (most recent call last):
01:48:53 T:165376000 M: 76128256  NOTICE:   File "/var/mobile/Library/Preferences/XBMC/addons/script.xbmc.subtitles/resources/lib/gui.py", line 519, in onAction
01:48:53 T:165376000 M: 76120064  NOTICE: if ( action.getId() in CANCEL_DIALOG):
01:48:53 T:165376000 M: 76120064  NOTICE:   File "/var/mobile/Library/Preferences/XBMC/addons/script.xbmc.subtitles/resources/lib/gui.py", line 455, in onClick
01:48:53 T:165376000 M: 76103680  NOTICE: self.Download_Subtitles( self.getControl( SUBTITLES_LIST ).getSelectedPosition() )
01:48:53 T:165376000 M: 76103680  NOTICE:   File "/var/mobile/Library/Preferences/XBMC/addons/script.xbmc.subtitles/resources/lib/gui.py", line 287, in Download_Subtitles
01:48:53 T:165376000 M: 76103680  NOTICE: shutil.copyfile(file, file_path)
01:48:53 T:165376000 M: 76103680  NOTICE:   File "/private/var/stash/Applications/XBMC.frappliance/Frameworks/usr/lib/python2.6/shutil.py", line 53, in copyfile
01:48:53 T:165376000 M: 76099584  NOTICE: fdst = open(dst, 'wb')
01:48:53 T:165376000 M: 76099584  NOTICE: IOError
01:48:53 T:165376000 M: 76099584  NOTICE: :

if you look in the /sub_tmp/ he actually downloaded the file, but doesn't move it to the location, and display the sub.

My setup is

Series on a NAS, full r/w on a ATV2 latest build.

set a folder for downloaded subs on ATv2 itself, there is a known issue with smb:// being read only on ATV2


Problem: "Downloading Subtitles..." - gabrielsturmer - 2011-02-02 16:07

Hi everyone, I'm having a problem here:

I'm able to search for subtitles in several sites, but when I click to download any of them, it says "Downloading Subtitles..." and nothing else.

It was working before, but stopped without any reason. Let me know if you need any other information and were I can find it.

This is definitely the best feature of XBMC, and the reson why I use it.

Thanks


- amet - 2011-02-02 22:07

gabrielsturmer Wrote:Hi everyone, I'm having a problem here:

I'm able to search for subtitles in several sites, but when I click to download any of them, it says "Downloading Subtitles..." and nothing else.

It was working before, but stopped without any reason. Let me know if you need any other information and were I can find it.

This is definitely the best feature of XBMC, and the reson why I use it.

Thanks

Debug Log please, read my signature


Hebrew Subs + Context Menu - webron - 2011-02-03 22:49

Hi,
Any chance to add support for either http://www.torec.net or http://www.subscenter.org/ for Hebrew subtitles?
Also, would it be possible to add the ability to download subtitles from the context menu of an episode (from the episode list, not when playing the episode)? I kinda hate it that I have to start watching the episode and then go to the context menu to do the actual subtitle download.
Other than that, the plug-in is really great and smoothly executed. I've tried many alternatives before (not only with XBMC) and this is by far the best option out there, thanks!


- amet - 2011-02-03 22:53

webron Wrote:Hi,
Any chance to add support for either http://www.torec.net or http://www.subscenter.org/ for Hebrew subtitles?

not by me unfortunately, not enough hours in a day

webron Wrote:Also, would it be possible to add the ability to download subtitles from the context menu of an episode (from the episode list, not when playing the episode)? I kinda hate it that I have to start watching the episode and then go to the context menu to do the actual subtitle download.
Other than that, the plug-in is really great and smoothly executed. I've tried many alternatives before (not only with XBMC) and this is by far the best option out there, thanks!

not atm, it would require some xbmc core changes.

if you look through this thread you will find how to start the script by hitting the keyboard key or a remote button. you need to add it to keymap file.


- webron - 2011-02-04 00:13

Thanks for the prompt reply!
Normally I use English subs, so it's not a big deal. Would have just been a nice feature Smile
I will definitely look for that script, thanks for pointing it out to me!


- gabrielsturmer - 2011-02-04 00:37

amet Wrote:Debug Log please, read my signature

The file is big, but i think that the part tha matters is this one:

edit by amet:

*** removed c/p debug log ***

http://xbmc.pastebin.com/i4fdTfnX

^^ thats how you should do it