From 4924d6eb667b5af4e89733adff632bbc1e8e118a Mon Sep 17 00:00:00 2001 From: Bezleputh Date: Thu, 27 Mar 2014 00:14:36 +0100 Subject: [PATCH] [grooveshark] fix bug : no more field AvgRate --- modules/grooveshark/browser.py | 1 - 1 file changed, 1 deletion(-) diff --git a/modules/grooveshark/browser.py b/modules/grooveshark/browser.py index e156bc30..de8ff053 100644 --- a/modules/grooveshark/browser.py +++ b/modules/grooveshark/browser.py @@ -143,7 +143,6 @@ class GroovesharkBrowser(BaseBrowser): audio.thumbnail = BaseImage(u'http://images.gs-cdn.net/static/albums/40_' + song['CoverArtFilename']) audio.thumbnail.url = audio.thumbnail.id audio.duration = datetime.timedelta(seconds=int(float(song['EstimateDuration']))) - audio.rating = float(song['AvgRating']) try: audio.date = datetime.date(year=int(song['Year']), month=1, day=1) except ValueError: