From f79374e1e8852fa08de2fdd1bfb97089b48c4f3c Mon Sep 17 00:00:00 2001 From: William Wilgus Date: Tue, 10 Dec 2024 01:08:32 -0500 Subject: [PATCH] WPS don't display next track till ID3 data is ready this causes a bunch of flashing on track change for me and I never get to read enough of the filename before it picks up the id3 data anyway Change-Id: I36e9b5dd03510b796b652e3116800992bea73869 --- apps/gui/wps.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/gui/wps.c b/apps/gui/wps.c index 33b04cd358..51d23f230d 100644 --- a/apps/gui/wps.c +++ b/apps/gui/wps.c @@ -1107,7 +1107,8 @@ static void track_info_callback(unsigned short id, void *param) state->id3 = audio_current_track(); } #endif - state->nid3 = audio_next_track(); + if (id == PLAYBACK_EVENT_NEXTTRACKID3_AVAILABLE) + state->nid3 = audio_next_track(); skin_request_full_update(WPS); }