[grooveshark] fix bug : no more field AvgRate

This commit is contained in:
Bezleputh 2014-03-27 00:14:36 +01:00
commit 4924d6eb66

View file

@ -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: