Fix playlist name encoding bug.
authorstephendenham <stephendenham@2dec19e3-eb1d-4749-8193-008c8bba0994>
Mon, 9 Apr 2012 15:58:40 +0000 (15:58 +0000)
committerstephendenham <stephendenham@2dec19e3-eb1d-4749-8193-008c8bba0994>
Mon, 9 Apr 2012 15:58:40 +0000 (15:58 +0000)
git-svn-id: svn://svn.code.sf.net/p/xbmc-groove/code@74 2dec19e3-eb1d-4749-8193-008c8bba0994

addon.xml
changelog.txt
description.xml
resources/lib/GroovesharkAPI.py

index dca6d04..47d1b63 100644 (file)
--- a/addon.xml
+++ b/addon.xml
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
 <addon id="plugin.audio.groove" name="Grooveshark XBMC"
 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
 <addon id="plugin.audio.groove" name="Grooveshark XBMC"
-       version="1.0.3" provider-name="Stephen Denham">
+       version="1.0.4" provider-name="Stephen Denham">
        <requires>
                <import addon="xbmc.python" version="2.0" />
                <import addon="script.module.simplejson"/>
        <requires>
                <import addon="xbmc.python" version="2.0" />
                <import addon="script.module.simplejson"/>
index deea963..cd8bc87 100644 (file)
@@ -1,3 +1,7 @@
+1.0.4
+
+Fix playlist name encoding bug.
+
 1.0.3
 
 Fix bug in album song name.
 1.0.3
 
 Fix bug in album song name.
index 7c25d17..efe80eb 100644 (file)
@@ -18,7 +18,7 @@
        <title>Grooveshark XBMC</title>
 
        <!-- (required) Major.minor.build -->
        <title>Grooveshark XBMC</title>
 
        <!-- (required) Major.minor.build -->
-       <version>1.0.3</version>
+       <version>1.0.4</version>
 
        <!--
                (required) author name & email. at least one author name is required
 
        <!--
                (required) author name & email. at least one author name is required
index 9c05ea2..efa338e 100644 (file)
@@ -556,6 +556,6 @@ class GrooveAPI:
 
                while (i < len(playlists)):
                        s = playlists[i]
 
                while (i < len(playlists)):
                        s = playlists[i]
-                       list.append([str(s['PlaylistName']).encode('ascii', 'ignore'), s['PlaylistID']])
+                       list.append([str(s['PlaylistName']).encode('utf-8'), s['PlaylistID']])
                        i = i + 1
                return list
                        i = i + 1
                return list