Kodi Community Forum

Full Version: [DEPRECIATED] XBMC Subtitles - Addon Script (previously OpenSubtitles OSD)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
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
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?
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
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!
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/
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
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.
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
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
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
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!
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.
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!
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