lastfm2gmb
========================
Script to import (sync) playcount from last.fm to gmusicbrowser
lastplay, tags, rating - not realized yet, see TODO
DEPENDENCIES
perl >=5.8 (for utf8 correct use)
Getopt::Long
LWP::UserAgent
Net::DBus
XML::Simple
gmusicbrowser (with Dbus implemented, tested on 1.0.X)
INSTALLATION
Just copy and run :)
USAGE
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 (only for user.getWeeklyTrackChart method),
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, default use 'lastfm2gmb' user api key
-q, --quiet - set debug to 0 and suppress any other output
-u, --user - lastfm username
KNOWN ISSUES
* Problem with duplicate track_title's in different albums - now it only skip this tracks
* Dbus maybe failing to update values on high traffic (?) - so you may want run script several times