From a67e5d89efe6c3fcf5a2eaf27aac1c14f024ee27 Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Mon, 17 Mar 2008 05:22:53 +0000 Subject: 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 --- apps/scrobbler.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/scrobbler.c') diff --git a/apps/scrobbler.c b/apps/scrobbler.c index 2f60e858e1..85285cb911 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; -- cgit v1.2.3