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)



- mr_blobby - 2010-09-17 10:12

KOROR Wrote:Ok, so here goes what must be be dumbest question (since no one has asked it yet).
I've downloaded/installed to XBMC Subtitles and enabled in XBMC.

And here is my question: How do I actually use it? Meaning how do i get it to download and show subtitles, is there a keyboard shortcut key or how does is work? :confused2:
First make sure you've got this in skin settings:

[Image: ocsug.png]

Then you can search and download subtitles with the special button in the video OSD (On Screen Display menu):

[Image: 2v2iged.png]

Or you could bind it to a key (in this example 'u'):
Create a keymap.xml in your xbmc profile 'XBMC\userdata\keymaps' with content:
Code:
<keymap>
  <FullscreenVideo>
    <keyboard>
        <u>RunScript(script.xbmc.subtitles)</u>
    </keyboard>
  </FullscreenVideo>
</keymap>



- mr_blobby - 2010-09-18 14:06

sike420 Wrote:
Code:
11:57:14 T:140615302699040 M:4052688896  NOTICE: -----------------------------------------------------------------------
11:57:14 T:140615302699040 M:4052688896  NOTICE: Starting XBMC, Platform: Linux (Gentoo Base System release 1.12.13, 2.6.34-gentoo-r1 x86_64). Built on Sep 16 2010 (SVN:33535)
11:57:14 T:140615302699040 M:4052688896  NOTICE: special://xbmc/ is mapped to: /usr/share/xbmc
11:57:14 T:140615302699040 M:4052688896  NOTICE: special://xbmcbin/ is mapped to: /usr/lib64/xbmc
11:57:14 T:140615302699040 M:4052688896  NOTICE: special://masterprofile/ is mapped to: /home/media/.xbmc/userdata
11:57:14 T:140615302699040 M:4052688896  NOTICE: special://home/ is mapped to: /home/media/.xbmc
11:57:14 T:140615302699040 M:4052688896  NOTICE: special://temp/ is mapped to: /home/media/.xbmc/temp
11:57:14 T:140615302699040 M:4052688896  NOTICE: The executable running is: /usr/lib64/xbmc/xbmc.bin
11:57:14 T:140615302699040 M:4052688896  NOTICE: Log File is located: /home/media/.xbmc/temp/xbmc.log
11:57:14 T:140615302699040 M:4052688896  NOTICE: -----------------------------------------------------------------------

Here you are... Thanks for the fast reply
For the 'Ondertitel' service: when the script hangs, close the script dialog screen (otherwise the error is not logged) and look in the debug log for a line:
Code:
-->Python script returned the following error<--
The error should be mentioned there.


- bignjato - 2010-09-20 13:44

can you add suport for subtitles from http://prijevodi-online.org/ because this site has all subtitles for popular tv shows!

Thanks


- amet - 2010-09-20 13:54

bignjato Wrote:can you add suport for subtitles from http://prijevodi-online.org/ because this site has all subtitles for popular tv shows!

Thanks

but only for EX-Yu, more than enough of it on podnapisi, Sublight and OpenSubtitles

Cheers,
Zeljko


- kim1406 - 2010-09-20 17:12

By the way, is it possible to download more than one subtitle in same language? I tried, and it seems to replace the first one I guess.


- amet - 2010-09-20 17:24

kim1406 Wrote:By the way, is it possible to download more than one subtitle in same language? I tried, and it seems to replace the first one I guess.

its not possible to download more than one subtitle in the same language


- smilenkovski - 2010-09-20 17:47

Amet Wrote:but only for EX-Yu, more than enough of it on podnapisi, Sublight and OpenSubtitles

Cheers,
Zeljko

What you mean "but only for EX-Yu", that is more than 25 milion people. LOL.
Thank you for 1.8.7 update, Жељко.


- amet - 2010-09-20 17:59

smilenkovski Wrote:What you mean "but only for EX-Yu", that is more than 25 milion people. LOL.


sure, Smile I am one of them Smile

the point is that we(ex-yu) are more than covered with the podnapisi, sublight and OS

smilenkovski Wrote:Thank you for 1.8.7 update, Жељко.

np, let me know if you run into any issues.

Поздрав Smile


- pecospete - 2010-09-20 20:30

1. Is there any way to change "use parent dir for search", and/or "enter search string manually" options from within the plugin UI directly, instead of having to bend backwards and go to the system preferences? That'd be very nice to have, IMO.

2. It'd be nice if there was a way to have the addon search all engines at once, instead of having to try engines one by one until you find one that has a sub for the title you're interested in.

3. Does each skin need tweaking to expose the subtitle configuration page in "system"? I'm running mediastream redux, and I noticed that I could only find the configuration page when I switched back to confluence.


- amet - 2010-09-20 22:27

pecospete Wrote:1. Is there any way to change "use parent dir for search", and/or "enter search string manually" options from within the plugin UI directly, instead of having to bend backwards and go to the system preferences? That'd be very nice to have, IMO.

not atm, maybe we will look into it later

pecospete Wrote:2. It'd be nice if there was a way to have the addon search all engines at once, instead of having to try engines one by one until you find one that has a sub for the title you're interested in.

no, and I dont think that will ever be added

pecospete Wrote:3. Does each skin need tweaking to expose the subtitle configuration page in "system"? I'm running mediastream redux, and I noticed that I could only find the configuration page when I switched back to confluence.

you will need to check with mediastream redux authors as thats not part of the addon


- TheAnt - 2010-09-22 21:41

First of all, great add-on!
But I think I have found a bug in it that you might want to have a look at.

Here is the debug output from when I click on the download subtitle button.
(As you can see i have both manual search and parent folder search equal to true)
http://pastebin.com/qAm30Uyv

It starts by searching for the file title.
"Search string = The Book of Eli"

Usually this is fine but in this case i have no idea which release to take since the filename that shows at the top is "m-bookofeli-1080p.mkv" and doesn't give me much. (would it be possible to show the file path here together with the filename?)

So I tried to click on the "Search using parent folder" instead. This gives me no results at all and this debug output:
http://pastebin.com/utpAjmVU
After some thinking why I didn't get any results I found out that the search string was "Search string = m-bookofeli" which isn't the folder name. It is probably because the file is in rar archive and the "parent folder" is the rar folder "m-bookofeli-1080p.rar" as you can see in the first debug output
"File Path: [rar://I:\FTP3\MOVIES_REL\MOVIES_REL_NOT_SEEN\The.Book.of.Eli.2010.1080p.BluRay.x264-METiS\m-bookofeli-1080p.rar/m-bookofeli-1080p.mkv]"

Did this make any sense?
I guess the quickest fix would be to show the file path at the top instead of just the filename, but a nicer fix would be to check if the file is in a rar archive and then step up to the parent folder of the rar files.
The ultimate fix would be to combine those two and show the folder and filename at the top and do the rar check. =)

Thanks again for an already great add-on! Keep up the good work!

/Ant


- pescuma - 2010-09-23 05:15

Could you please add support to downloading from http://legendas.tv ? There is a program that is able to parse the site and may help you: http://code.google.com/p/jumpingspider
Thanks


- alex84 - 2010-09-23 10:48

Read my post TheAnt

http://forum.xbmc.org/showthread.php?tid=75437&page=20
Post: #198

Then if you continue reading forward 2 pages you will get to an post by Amet
http://forum.xbmc.org/showthread.php?tid=75437&page=22
Post #215

Maby this is something that we will see in a future update or something
Hope this helps


- matejdro - 2010-09-23 15:50

Can you add option to save into same folder as movie, but if save fails, it will save it to temporary location that gets deleted when movie stops.

For example i want to save subtitles into same folder as movie, but that it's not possible if i'm watching a movie from CD.


- frater - 2010-09-23 17:55

matejdro Wrote:Can you add option to save into same folder as movie, but if save fails, it will save it to temporary location that gets deleted when movie stops.

For example i want to save subtitles into same folder as movie, but that it's not possible if i'm watching a movie from CD.

I think it's a good idea to have a fallback location for such a situation. Although I don't think it's necessary to delete that file. The script is not running anymore when the movie stops. It has already stopped just after it unpauses the movie....