diff options
| author | Jonathan Gordon <rockbox@jdgordon.info> | 2008-03-17 05:22:53 +0000 |
|---|---|---|
| committer | Jonathan Gordon <rockbox@jdgordon.info> | 2008-03-17 05:22:53 +0000 |
| commit | a67e5d89efe6c3fcf5a2eaf27aac1c14f024ee27 (patch) | |
| tree | 2e62c72ea2e45410216bdbd62b70101db0f4e7ca /apps/scrobbler.c | |
| parent | c6b6bad18fcd68182574086c2eb2a1da30d36d25 (diff) | |
| download | rockbox-a67e5d89efe6c3fcf5a2eaf27aac1c14f024ee27.zip rockbox-a67e5d89efe6c3fcf5a2eaf27aac1c14f024ee27.tar.gz rockbox-a67e5d89efe6c3fcf5a2eaf27aac1c14f024ee27.tar.bz2 rockbox-a67e5d89efe6c3fcf5a2eaf27aac1c14f024ee27.tar.xz | |
It makes more sense for the callback registrar to decide if its a "oneshot" then the callback caller.
(Doing it this way means playback could(/should?) registar a disk spinup callback at init which is called every spinup without needing to be reregistered)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16685 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/scrobbler.c')
| -rw-r--r-- | apps/scrobbler.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/scrobbler.c b/apps/scrobbler.c index 2f60e85..85285cb 100644 --- a/apps/scrobbler.c +++ b/apps/scrobbler.c @@ -227,7 +227,7 @@ int scrobbler_init(void) scrobbler_cache = buffer_alloc(SCROBBLER_MAX_CACHE*SCROBBLER_CACHE_LEN); - add_event(PLAYBACK_EVENT_TRACK_CHANGE, scrobbler_change_event); + add_event(PLAYBACK_EVENT_TRACK_CHANGE, false, scrobbler_change_event); cache_pos = 0; pending = false; scrobbler_initialised = true; |