last.fm archive format change
Peter Molnar hello@petermolnar.eu
Fri, 01 Jun 2018 09:48:32 +0000
1 files changed,
4 insertions(+),
4 deletions(-)
jump to
M
archive.py
→
archive.py
@@ -71,12 +71,12 @@ def hash2flat(self, data):
time = int(data.get('date').get('uts')) r = { 'date': arrow.get(time).format(shared.ARROWFORMAT['iso']), - 'title': data.get('name'), - 'title_mbid': data.get('mbid'), 'artist': data.get('artist').get('#text'), - 'artist_mbid': data.get('artist').get('mbid'), 'album': data.get('album').get('#text'), - 'album_mbid': data.get('album').get('mbid'), + 'title': data.get('name') + #'title_mbid': data.get('mbid'), + #'artist_mbid': data.get('artist').get('mbid'), + #'album_mbid': data.get('album').get('mbid'), } return (time, r)