2010-08-31, 21:50
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?
Thanks
<onclick>Dialog.Close(videoosd)</onclick>
<onclick>RunScript($INFO[Skin.String(SubsScript_Path)])</onclick>
file_name = "%s.%s%s" % ( sub_name, sub_lang, sub_ext )
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 )
<setting id="lang_to_end" type="bool" label="30121" default="true" />
<string id="30121">- Add Language To Filename </string>
mr_blobby Wrote:Uncheck "Subtitle download folder same as movie" and a custom dowload path can be set.
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
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
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:
To this:Code:file_name = "%s.%s%s" % ( sub_name, sub_lang, sub_ext )
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.
kraaa Wrote:Subscene search still not working or its just me?http://forum.xbmc.org/showthread.php?p=5...post594461
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 destinationlease 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?
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!