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
This commit is contained in:
William Wilgus 2024-12-10 01:08:32 -05:00 committed by William Wilgus
parent 05336c9efb
commit f79374e1e8

View file

@ -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);
}