audioscrobbler: update profile periodically
authorJamie Nicol <jamie@thenicols.net>
Mon, 6 Sep 2010 15:26:24 +0000 (16:26 +0100)
committerJamie Nicol <jamie@thenicols.net>
Mon, 6 Sep 2010 15:26:24 +0000 (16:26 +0100)
commitdaceb0600aebe84014fba61ef202c25cbbc5f841
treed611ea54766c7147224eef8a33e083ce7d1f0be8
parentb43d1663fc6c66d75ca523a541bfbeff65a68806
audioscrobbler: update profile periodically

When source is activated, update profile and register a timeout callback
which every 5 minutes will update the profile. When source is deactivated
remove the callback.

Of course, these will only actually send update requests if the cached
responses are no longer valid.
plugins/audioscrobbler/rb-audioscrobbler-profile-source.c