The branch, dharma has been updated
via 690bc4db649de74d678223983411bef52ceb9378 (commit)
from 0f456ad355d909d465ed0687ea92052d28e5817d (commit)
- Log -----------------------------------------------------------------
http://xbmc.git.sourceforge.net/git/gitweb.cgi?p=xbmc/scripts;a=commit;h=690bc4db649de74d678223983411bef52ceb9378
commit 690bc4db649de74d678223983411bef52ceb9378
Author: amet <[email protected]>
Date: Sat Feb 5 11:37:59 2011 +0400
[script.xbmc.subtitles] -v2.2.7
- fixed: reverted part of 5ae14804a9c0c7dff49af852759f9a15ba337a23, should
fix Legendas.TV issue.
diff --git a/script.xbmc.subtitles/addon.xml b/script.xbmc.subtitles/addon.xml
index 1b0c90a..ba7bec0 100644
--- a/script.xbmc.subtitles/addon.xml
+++ b/script.xbmc.subtitles/addon.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="script.xbmc.subtitles"
name="XBMC Subtitles"
- version="2.2.6"
+ version="2.2.7"
provider-name="Amet">
<requires>
<import addon="xbmc.python" version="1.0"/>
diff --git a/script.xbmc.subtitles/changelog.txt
b/script.xbmc.subtitles/changelog.txt
index c6372bf..5e5ddaa 100644
--- a/script.xbmc.subtitles/changelog.txt
+++ b/script.xbmc.subtitles/changelog.txt
@@ -1,3 +1,6 @@
+2.2.7
+- fixed: reverted part of 5ae14804a9c0c7dff49af852759f9a15ba337a23, should fix
Legendas.TV issue.
+
2.2.6
- added: theSubDB, thanks to jrhames
- added: open addon settings from the service window
diff --git a/script.xbmc.subtitles/resources/lib/gui.py
b/script.xbmc.subtitles/resources/lib/gui.py
index ca83a30..2a6bfd2 100644
--- a/script.xbmc.subtitles/resources/lib/gui.py
+++ b/script.xbmc.subtitles/resources/lib/gui.py
@@ -116,7 +116,7 @@ class GUI( xbmcgui.WindowXMLDialog ):
else:
self.file_name = "%s (%s)" % (self.title.encode('utf-8'),
str(self.year),)
- self.tmp_sub_dir = xbmc.translatePath(os.path.join( __profile__ ,"sub_tmp"
))
+ self.tmp_sub_dir = os.path.join( __profile__ ,"sub_tmp" )
if not self.tmp_sub_dir.endswith(':') and not
os.path.exists(self.tmp_sub_dir):
os.makedirs(self.tmp_sub_dir)
@@ -238,7 +238,6 @@ class GUI( xbmcgui.WindowXMLDialog ):
self.getControl( STATUS_LABEL ).setLabel( msg )
else:
self.getControl( STATUS_LABEL ).setLabel( _( 657 ) )
-
self.setFocusId( SERVICES_LIST )
self.getControl( SERVICES_LIST ).selectItem( 0 )
@@ -274,7 +273,7 @@ class GUI( xbmcgui.WindowXMLDialog ):
file_name = "%s.%s%s" % ( sub_name, sub_lang, sub_ext )
else:
file_name = "%s%s" % ( sub_name, sub_ext )
- file_from = os.path.join(self.tmp_sub_dir,
"zipsubs.zip").replace('\\','/')
+ file_from = file.replace('\\','/')
file_to = os.path.join(self.sub_folder, file_name).replace('\\','/')
try:
shutil.copyfile(file_from, file_to)
-----------------------------------------------------------------------
Summary of changes:
script.xbmc.subtitles/addon.xml | 2 +-
script.xbmc.subtitles/changelog.txt | 3 +++
script.xbmc.subtitles/resources/lib/gui.py | 5 ++---
3 files changed, 6 insertions(+), 4 deletions(-)
hooks/post-receive
--
Scripts
------------------------------------------------------------------------------
The modern datacenter depends on network connectivity to access resources
and provide services. The best practices for maximizing a physical server's
connectivity to a physical network are well understood - see how these
rules translate into the virtual world?
http://p.sf.net/sfu/oracle-sfdevnlfb
_______________________________________________
Xbmc-addons mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xbmc-addons