lastfm: remove duplicated code
move some lastfm code to pragha-lastfm.c