Allow unicode symbols in playlist names.
authorstephendenham <stephendenham@2dec19e3-eb1d-4749-8193-008c8bba0994>
Sat, 29 Dec 2012 13:25:13 +0000 (13:25 +0000)
committerstephendenham <stephendenham@2dec19e3-eb1d-4749-8193-008c8bba0994>
Sat, 29 Dec 2012 13:25:13 +0000 (13:25 +0000)
git-svn-id: svn://svn.code.sf.net/p/xbmc-groove/code@80 2dec19e3-eb1d-4749-8193-008c8bba0994

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

index 1a77971..524acae 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"
-       version="1.0.6" provider-name="Stephen Denham">
+       version="1.0.7" provider-name="Stephen Denham">
        <requires>
                <import addon="xbmc.python" version="2.0" />
                <import addon="script.module.simplejson"/>
index 064b934..5c623bf 100644 (file)
@@ -1,3 +1,7 @@
+1.0.7
+
+Allow unicode symbols in playlist names.
+
 1.0.6
 
 Fix play next issue.
index 6dfe92e..5dca06a 100644 (file)
@@ -18,7 +18,7 @@
        <title>Grooveshark XBMC</title>
 
        <!-- (required) Major.minor.build -->
-       <version>1.0.6</version>
+       <version>1.0.7</version>
 
        <!--
                (required) author name & email. at least one author name is required
index added07..9956897 100644 (file)
@@ -556,6 +556,6 @@ class GrooveAPI:
 
                while (i < len(playlists)):
                        s = playlists[i]
-                       list.append([str(s['PlaylistName']).encode('utf-8'), s['PlaylistID']])
+                       list.append([str(s['PlaylistName']).encode('utf8', 'ignore'), s['PlaylistID']])
                        i = i + 1
                return list