diff options
author | William Wilgus <wilgus.william@gmail.com> | 2024-12-10 01:08:32 -0500 |
---|---|---|
committer | William Wilgus <me.theuser@yahoo.com> | 2024-12-11 00:44:59 -0500 |
commit | f79374e1e8852fa08de2fdd1bfb97089b48c4f3c (patch) | |
tree | f2e864dff54273768185231f0405fee1725d751d | |
parent | 05336c9efb45f1207b58e6f85452485404c1dcfa (diff) | |
download | rockbox-f79374e1e8.tar.gz rockbox-f79374e1e8.zip |
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
-rw-r--r-- | apps/gui/wps.c | 3 |
1 files changed, 2 insertions, 1 deletions
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); } |