Implement a local cache for the LastFM scrobbler
Currently the LastFM scrobbler relies on a reliable internet connection to always correctly scrobble the songs being played. On an unstable connection the scrobbling process may just fail and the song will not get registered.
Implement a simple local cache to save failed scrobbles and resend them after a timeout or the next time a song is scrobbled.