The branch, dharma has been updated
       via  e4f0eed26ae1e000e50459fc4b24aae2dc742357 (commit)
      from  6e74ce30bd811e8d346a9c45bc898dee07ae767d (commit)

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

commit e4f0eed26ae1e000e50459fc4b24aae2dc742357
Author: amet <[email protected]>
Date:   Sat Jan 29 21:12:05 2011 +0400

    [script.favourites] -v 1.0.6
    
    fixed: translate special:// paths, works on OpenElec and other external 
Python builds

diff --git a/script.favourites/addon.xml b/script.favourites/addon.xml
index c980858..3a2d6e8 100644
--- a/script.favourites/addon.xml
+++ b/script.favourites/addon.xml
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
 <addon id="script.favourites"
        name="Favourites script"
-       version="1.0.5"
+       version="1.0.6"
        provider-name="CF2009">
   <requires>
     <import addon="xbmc.python" version="1.0"/>
diff --git a/script.favourites/default.py b/script.favourites/default.py
index 838ee74..7996f36 100644
--- a/script.favourites/default.py
+++ b/script.favourites/default.py
@@ -22,7 +22,7 @@ class Main:
 
     def _read_file( self ):
         # Set path
-        self.fav_dir = 'special://profile//favourites.xml'
+        self.fav_dir = xbmc.translatePath( 'special://profile/favourites.xml' )
         # Check to see if file exists
         if (os.path.isfile( self.fav_dir ) == False):
             self.favourites_xml = '<favourites><favourite name="Can Not Find 
favourites.xml">-</favourite></favourites>'

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

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


hooks/post-receive
-- 
Scripts

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Xbmc-addons mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xbmc-addons

Reply via email to