diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/playback.c | 6 | ||||
-rw-r--r-- | apps/scrobbler.c | 2 | ||||
-rw-r--r-- | apps/tagtree.c | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/apps/playback.c b/apps/playback.c index ee1787e612..7eecd23e35 100644 --- a/apps/playback.c +++ b/apps/playback.c @@ -1731,7 +1731,7 @@ static bool audio_load_track(int offset, bool start_play) { if (get_metadata(&id3, fd, trackname)) { - send_event(PLAYBACK_EVENT_TRACK_BUFFER, false, &id3); + send_event(PLAYBACK_EVENT_TRACK_BUFFER, &id3); tracks[track_widx].id3_hid = bufalloc(&id3, sizeof(struct mp3entry), TYPE_ID3); @@ -1968,7 +1968,7 @@ static int audio_check_new_track(void) bool end_of_playlist; /* Temporary flag, not the same as playlist_end */ /* Now it's good time to send track unbuffer events. */ - send_event(PLAYBACK_EVENT_TRACK_FINISH, false, &curtrack_id3); + send_event(PLAYBACK_EVENT_TRACK_FINISH, &curtrack_id3); if (dir_skip) { @@ -2339,7 +2339,7 @@ static void audio_finalise_track_change(void) bufgetid3(prev_ti->id3_hid)->elapsed = 0; } - send_event(PLAYBACK_EVENT_TRACK_CHANGE, false, &curtrack_id3); + send_event(PLAYBACK_EVENT_TRACK_CHANGE, &curtrack_id3); track_changed = true; playlist_update_resume_info(audio_current_track()); 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; diff --git a/apps/tagtree.c b/apps/tagtree.c index 4572204ae5..faffb0053d 100644 --- a/apps/tagtree.c +++ b/apps/tagtree.c @@ -925,8 +925,8 @@ void tagtree_init(void) uniqbuf = buffer_alloc(UNIQBUF_SIZE); - add_event(PLAYBACK_EVENT_TRACK_BUFFER, tagtree_buffer_event); - add_event(PLAYBACK_EVENT_TRACK_FINISH, tagtree_track_finish_event); + add_event(PLAYBACK_EVENT_TRACK_BUFFER, false, tagtree_buffer_event); + add_event(PLAYBACK_EVENT_TRACK_FINISH, false, tagtree_track_finish_event); } static bool show_search_progress(bool init, int count) |