FS#10102 - progress doesnt get updated on the first track of a rockbox session
Opened by Jonathan Gordon (jdgordon) - Monday, 06 April 2009, 07:20 GMT
Last edited by Boris Gjenero (dreamlayers) - Tuesday, 21 April 2009, 03:57 GMT
--- apps/gui/gwps-common.c (revision 20633)
+++ apps/gui/gwps-common.c (working copy)
-361,6 +361,9 @@
+ if (wps_state.id3->elapsed == 0)
+ wps_state.id3 = audio_current_track();
retval = gui_wps_redraw(gwps, 0,
^^ that is the simple band aid fix, which I dont like and would rather not commit it...
I've done some debugging and the correct id3 struct is getting passed to the wps, and it is getting updated in playback.c... so im a bit baffled... (also its midnight so im asleep)
crap... added some %p printfing and even though audio_current_track() is returning thistrack_id3 (as it should).. that is apparently pointing to the wrong thing for the first track!
should be a simple fix in the morning... untill then, use the above bandaid if you cant wait that long
Tuesday, 21 April 2009, 03:57 GMT
Reason for closing: Fixed
Additional comments about closing: Status bar problem fixed in r20705.
FLAC divide by zero problem fixed in r20764.