Author/Maintainer: Sergiy Borodych
Script to import (sync) playcount, lastplay and rating from last.fm to gmusicbrowser.
tags - not realized yet, see TODO
gmusicbrowser must be running and the music files must be in its library.
$ lastfm2gmb.pl [-c] [-q|-d debuglevel] [-k api_key] -u lastfm_username
-c, –cache - enable cache results enable cache results (only for 'playcount & lastplay' mode), example: this can eat about ~8M for 160 weeks in tmp dir
-d, –debug - debug level (0..2), default 0
-k, –key - lastfm api key, by default script using 'lastfm2gmb' user API key
-q, –quiet - set debug to 0 and suppress any other output
-u, –user - lastfm username
perl v5.8 (for utf8 correct use)
LWP::UserAgent
Net::DBus
XML::Simple
gmusicbrowser (with Dbus implemented, tested on 1.0.X & 1.1.6)