The branch, eden has been updated
       via  b3aaa3a451a7645257b62a1452da103976d11ae3 (commit)
      from  7d452b4a53e22ff4be2aa0691e8aa05ab47754c0 (commit)

- Log -----------------------------------------------------------------
http://xbmc.git.sourceforge.net/git/gitweb.cgi?p=xbmc/scripts;a=commit;h=b3aaa3a451a7645257b62a1452da103976d11ae3

commit b3aaa3a451a7645257b62a1452da103976d11ae3
Author: ronie <[email protected]>
Date:   Fri Jun 1 18:33:46 2012 +0200

    [script.favourites] -v3.2.4
    
    don't add slash at the end of the path

diff --git a/script.favourites/addon.xml b/script.favourites/addon.xml
index fbdce56..0052a01 100644
--- a/script.favourites/addon.xml
+++ b/script.favourites/addon.xml
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
-<addon id="script.favourites" name="Favourites script" version="3.2.3" 
provider-name="CF2009, ronie, `Black">
+<addon id="script.favourites" name="Favourites script" version="3.2.4" 
provider-name="CF2009, ronie, `Black">
        <requires>
                <import addon="xbmc.python" version="2.0"/>
        </requires>
diff --git a/script.favourites/changelog.txt b/script.favourites/changelog.txt
index 631047f..d4d7324 100644
--- a/script.favourites/changelog.txt
+++ b/script.favourites/changelog.txt
@@ -1,3 +1,6 @@
+v3.2.4
+- revert adding slash at the end of the path
+
 v3.2.3
 - added option to change favourite label
 
diff --git a/script.favourites/default.py b/script.favourites/default.py
index b6d2356..181c607 100644
--- a/script.favourites/default.py
+++ b/script.favourites/default.py
@@ -66,8 +66,8 @@ class Main:
                 self.fav_path = self.doc.childNodes [ 0 ].nodeValue
                 # add return
                 if 'RunScript' not in self.fav_path:
-                    self.fav_path = self.fav_path.rstrip('")')
-                    self.fav_path = self.fav_path + '/",return)'
+                    self.fav_path = self.fav_path.rstrip(')')
+                    self.fav_path = self.fav_path + ',return)'
                 if (self.PLAY):
                     if 'playlists/music' in self.fav_path: self.fav_path = 
self.fav_path.replace( 'ActivateWindow(10502,', 'PlayMedia(' )
                     if 'playlists/video' in self.fav_path: self.fav_path = 
self.fav_path.replace( 'ActivateWindow(10025,', 'PlayMedia(' )

-----------------------------------------------------------------------

Summary of changes:
 script.favourites/addon.xml     |    2 +-
 script.favourites/changelog.txt |    3 +++
 script.favourites/default.py    |    4 ++--
 3 files changed, 6 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
Scripts

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Xbmc-addons mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xbmc-addons

Reply via email to