-Code from lastfm exporter modified