The branch, frodo has been updated
       via  6c73294ff58c0ae35460b9e7d4ed8b9f917cf712 (commit)
      from  56e178671e1ac8a3e91c51294ffe9f6f81249480 (commit)

- Log -----------------------------------------------------------------
http://xbmc.git.sourceforge.net/git/gitweb.cgi?p=xbmc/plugins;a=commit;h=6c73294ff58c0ae35460b9e7d4ed8b9f917cf712

commit 6c73294ff58c0ae35460b9e7d4ed8b9f917cf712
Author: Martijn Kaijser <[email protected]>
Date:   Mon Dec 2 08:47:08 2013 +0100

    [plugin.audio.groove] 2.0.6

diff --git a/plugin.audio.groove/addon.xml b/plugin.audio.groove/addon.xml
index 20e7987..449aa00 100644
--- a/plugin.audio.groove/addon.xml
+++ b/plugin.audio.groove/addon.xml
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
 <addon id="plugin.audio.groove" name="Grooveshark XBMC"
-       version="2.0.5" provider-name="Stephen Denham">
+       version="2.0.6" provider-name="Stephen Denham">
        <requires>
                <import addon="xbmc.python" version="2.1.0" />
                <import addon="script.module.simplejson"/>
@@ -13,7 +13,7 @@
                <platform>all</platform>
                <summary lang="en">Grooveshark addon for XBMC.</summary>
                <description lang="en">
-                       Grooveshark addon for XBMC. You should enter your 
Grooveshark Anywhere username and password in the addon settings.
+                       Grooveshark addon for XBMC. You must enter your 
Grooveshark Anywhere username and password in the addon settings.
                </description>
                <license>GNU GENERAL PUBLIC LICENSE. Version 2, June 
1991</license>
                <email>stephen dot denham at gmail dot com</email>
diff --git a/plugin.audio.groove/changelog.txt 
b/plugin.audio.groove/changelog.txt
index 194bb0c..06998f6 100644
--- a/plugin.audio.groove/changelog.txt
+++ b/plugin.audio.groove/changelog.txt
@@ -1,3 +1,7 @@
+2.0.6
+
+Replace md5 with hashlib.
+
 2.0.5
 
 Fix add to playlist.
diff --git a/plugin.audio.groove/resources/lib/GroovesharkAPI.py 
b/plugin.audio.groove/resources/lib/GroovesharkAPI.py
index 9b8feda..fd09c16 100644
--- a/plugin.audio.groove/resources/lib/GroovesharkAPI.py
+++ b/plugin.audio.groove/resources/lib/GroovesharkAPI.py
@@ -15,7 +15,7 @@
 #    You should have received a copy of the GNU General Public License
 #    along with xbmc-groove.  If not, see <http://www.gnu.org/licenses/>.
 
-import urllib2, pprint, md5, os, pickle, tempfile, time, re, simplejson, 
base64, sys, socket
+import urllib2, pprint, os, pickle, tempfile, time, re, simplejson, base64, 
sys, socket, hashlib
 from blowfish import Blowfish
 
 SESSION_EXPIRY = 1209600 # 2 weeks
@@ -38,7 +38,7 @@ class GrooveAPI:
        _sessionID = ''
        _userID = 0
        _lastSessionTime = 0
-       _key = md5.new(os.path.basename("GroovesharkAPI.py")).hexdigest()
+       _key = hashlib.md5(os.path.basename("GroovesharkAPI.py")).hexdigest()
        _debugging = False
 
        # Constructor
@@ -188,7 +188,7 @@ class GrooveAPI:
        
        # Authenticates the user for current API session
        def _authenticate(self, login, password):
-               md5pwd = md5.new(password).hexdigest()
+               md5pwd = hashlib.md5(password).hexdigest()
                params = {'login': login, 'password': md5pwd}
                
                result = self._callRemote('authenticate', params)

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

Summary of changes:
 plugin.audio.groove/addon.xml                      |    4 ++--
 plugin.audio.groove/changelog.txt                  |    4 ++++
 .../resources/lib/GroovesharkAPI.py                |    6 +++---
 3 files changed, 9 insertions(+), 5 deletions(-)


hooks/post-receive
-- 
Plugins

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
_______________________________________________
Xbmc-addons mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xbmc-addons

Reply via email to