The branch, eden-pre has been updated
via 7e0e9bd0e6bd52c0402e37afca716b93bad29eef (commit)
from 7ad1e5d2ed5c559de9f79dd1ec42411c0ee2b87b (commit)
- Log -----------------------------------------------------------------
http://xbmc.git.sourceforge.net/git/gitweb.cgi?p=xbmc/scripts;a=commit;h=7e0e9bd0e6bd52c0402e37afca716b93bad29eef
commit 7e0e9bd0e6bd52c0402e37afca716b93bad29eef
Author: amet <[email protected]>
Date: Tue Feb 21 09:57:45 2012 +0400
[weather.worldweatheronline] -v1.0.8
- fix: decode utf-8 paths to internal encoding otherwise the addon fails to
load on windows with non-ascii profile paths like G:\XBMC\Ãö. thx chadoe for
this
diff --git a/weather.worldweatheronline/addon.xml
b/weather.worldweatheronline/addon.xml
index c4fd29d..f25356f 100644
--- a/weather.worldweatheronline/addon.xml
+++ b/weather.worldweatheronline/addon.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="weather.worldweatheronline"
name="World Weather Online"
- version="1.0.7"
+ version="1.0.8"
provider-name="Team XBMC">
<requires>
<import addon="xbmc.python" version="2.0"/>
diff --git a/weather.worldweatheronline/changelog.txt
b/weather.worldweatheronline/changelog.txt
index df2fe7f..fde0b35 100644
--- a/weather.worldweatheronline/changelog.txt
+++ b/weather.worldweatheronline/changelog.txt
@@ -1,3 +1,6 @@
+1.0.8
+- fix: decode utf-8 paths to internal encoding otherwise the addon fails to
load on windows with non-ascii profile paths like G:\XBMC\Ãö. thx chadoe for
this
+
1.0.7
- added Simplified Chinese translation
diff --git a/weather.worldweatheronline/default.py
b/weather.worldweatheronline/default.py
index ac0329b..95111f5 100644
--- a/weather.worldweatheronline/default.py
+++ b/weather.worldweatheronline/default.py
@@ -29,8 +29,8 @@ __version__ = __addon__.getAddonInfo('version')
__author__ = __addon__.getAddonInfo('author')
__language__ = __addon__.getLocalizedString
-__profile__ = xbmc.translatePath( __addon__.getAddonInfo('profile') )
-__resource__ = xbmc.translatePath( os.path.join( __cwd__, 'resources', 'lib'
) )
+__profile__ = xbmc.translatePath( __addon__.getAddonInfo('profile')
).decode("utf-8")
+__resource__ = xbmc.translatePath( os.path.join( __cwd__, 'resources', 'lib'
) ).decode("utf-8")
sys.path.append (__resource__)
-----------------------------------------------------------------------
Summary of changes:
weather.worldweatheronline/addon.xml | 2 +-
weather.worldweatheronline/changelog.txt | 3 +++
weather.worldweatheronline/default.py | 4 ++--
3 files changed, 6 insertions(+), 3 deletions(-)
hooks/post-receive
--
Scripts
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Xbmc-addons mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xbmc-addons