• 1
  • 11
  • 12
  • 13(current)
  • 14
  • 15
  • 138
[DEPRECIATED] XBMC Subtitles - Addon Script (previously OpenSubtitles OSD)
Anyway to have the program delete the subtitles or store them in another folder than same as the movie?
kraaa Wrote:Anyway to have the program delete the subtitles or store them in another folder than same as the movie?
Uncheck "Subtitle download folder same as movie" and a custom dowload path can be set.
aptalca Wrote:Hi Amet,
First of all, thanks for the great addon

I was wondering if there is a way to have this addon automatically close/hide the OSD menu when it's done downloading the subtitles?

Right now, I am accessing this addon not using a button on the remote, but through the OSD menu in Transparency. So when I select a subtitle to download, the OSD is also open. After download, the addon window automatically closes and the video starts playing, but I still have the OSD that I have to manually close.

I know I am just being lazy, but isn't it what we are all trying to achieve here with xbmc, ultimate practicality for the ultimate lazy? Smile

Thanks


For anyone who's wondering, I was able to achieve the above by editing the video osd xml in my skin (transparency). I just added this line

Code:
<onclick>Dialog.Close(videoosd)</onclick>

right underneath this line

Code:
<onclick>RunScript($INFO[Skin.String(SubsScript_Path)])</onclick>

(thanks to ronie for that)
I made another change to the script. I have another mediaplayer which needs the subtitle to be named same as the video, so I made adding language name to downloaded subtitle filenames optional.

If anyone is interested in trying it, here's the changes needed.

gui.py
At "Download Subtitles" and "Extract, Rename & Activate Subtitles", about rows 265 and 292

Change this:
Code:
file_name = "%s.%s%s" % ( sub_name, sub_lang, sub_ext )
To this:
Code:
if (__settings__.getSetting( "lang_to_end" ) == "true"):
   file_name = "%s.%s%s" % ( sub_name, sub_lang, sub_ext )
else:
   file_name = "%s%s" % ( sub_name, sub_ext )

settings.xml
Add new row to "<category label="30106">" section
Code:
<setting id="lang_to_end" type="bool" label="30121" default="true" />

strings.xml in english or language used
Add new row to "Script Settings" section
Code:
<string id="30121">- Add Language To Filename </string>

If Amet you can implement these to the script for future releases, that would be great.
mr_blobby Wrote:Uncheck "Subtitle download folder same as movie" and a custom dowload path can be set.

I did this but i cant view the subtitles now for some reason, seems like it have to be in the same directory as the movie/show?
kraaa Wrote:I did this but i cant view the subtitles now for some reason, seems like it have to be in the same directory as the movie/show?
You need to set custom subtitle folder to XBMC or manually browse for the subtitle. Check here how: http://wiki.xbmc.org/index.php?title=Videos#Subtitles
I have a problem with downloading subtitles. I try to download the subtitle but then i get this message: You can`t save subtitle to the selected destinationTonguelease choose different subtitle folder under script settings. I tryied to change folders but I always get this message when trying to download subtitle.Any help?Blush
Veron Wrote:You need to set custom subtitle folder to XBMC or manually browse for the subtitle. Check here how: http://wiki.xbmc.org/index.php?title=Videos#Subtitles

Yeah i did that, but it dident work for one movie. Works for all others now tho!
Veron Wrote:I made another change to the script. I have another mediaplayer which needs the subtitle to be named same as the video, so I made adding language name to downloaded subtitle filenames optional.

If anyone is interested in trying it, here's the changes needed.

gui.py
At "Download Subtitles" and "Extract, Rename & Activate Subtitles", about rows 265 and 292

Change this:
Code:
file_name = "%s.%s%s" % ( sub_name, sub_lang, sub_ext )
To this:
Code:
if (__settings__.getSetting( "lang_to_end" ) == "true"):
   file_name = "%s.%s%s" % ( sub_name, sub_lang, sub_ext )
else:
   file_name = "%s%s" % ( sub_name, sub_ext )

settings.xml
Add new row to "<category label="30106">" section
Code:
<setting id="lang_to_end" type="bool" label="30121" default="true" />

strings.xml in english or language used
Add new row to "Script Settings" section
Code:
<string id="30121">- Add Language To Filename </string>

If Amet you can implement these to the script for future releases, that would be great.

added in 1.8.1, thanks!
Subscene search still not working or its just me?
kraaa Wrote:Subscene search still not working or its just me?
http://forum.xbmc.org/showthread.php?p=5...post594461
With a bit of luck, I will have a new version ready this weekend.
I'm having the same issue as Rob777 (XBMC Dharma Beta 1, Mac OSX). I tried using the same folder as movie, and fixed directories. Anybody else seen this? Besides that, integration in XBMC looks very smooth!


roby777 Wrote:I have a problem with downloading subtitles. I try to download the subtitle but then i get this message: You can`t save subtitle to the selected destinationTonguelease choose different subtitle folder under script settings. I tryied to change folders but I always get this message when trying to download subtitle.Any help?Blush
thijse Wrote:I'm having the same issue as Rob777 (XBMC Dharma Beta 1, Mac OSX). I tried using the same folder as movie, and fixed directories. Anybody else seen this? Besides that, integration in XBMC looks very smooth!

try selecting a folder on the local HDD and not on the network. Also, please post your debug log , maybe we can fish something out of it
I made a thread on the general xbmc help thread but think it would possible to implement my idea on checking local folders for subs from where the movies is?

http://forum.xbmc.org/showthread.php?tid=80479

check that please and if it would be able to have it autosearch for the subtitles and extract to the subfolder i would love you 100% more Big Grin
I have updated my version and podnapisi.net seems to work now.

Thanks!
  • 1
  • 11
  • 12
  • 13(current)
  • 14
  • 15
  • 138

Logout Mark Read Team Forum Stats Members Help
[DEPRECIATED] XBMC Subtitles - Addon Script (previously OpenSubtitles OSD)7