[grooveshark] fix bug : no more field AvgRate
This commit is contained in:
parent
2c3fd71a1d
commit
4924d6eb66
1 changed files with 0 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue