Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: rockbox goes crazy whenever metadata is wrong

rockbox goes crazy whenever metadata is wrong

From: Frederic Devernay <frederic.devernay_at_m4x.org>
Date: 2005-07-26

Rockbox kept reopening a file when metadata was wrong: one line was
missing in playback.c :

Index: rockbox/apps/playback.c
===================================================================
RCS file: /cvsroot/rockbox/apps/playback.c,v
retrieving revision 1.131
diff -u -3 -p -r1.131 playback.c
--- rockbox/apps/playback.c 24 Jul 2005 04:17:34 -0000 1.131
+++ rockbox/apps/playback.c 26 Jul 2005 12:41:59 -0000
@@ -856,6 +856,7 @@ bool audio_load_track(int offset, bool s
          if (!get_metadata(&tracks[track_widx],fd,trackname,v1first)) {
              logf("Metadata error!");
              tracks[track_widx].filesize = 0;
+ tracks[track_widx].filerem = 0;
              close(fd);
              return false;
          }
_______________________________________________
http://cool.haxx.se/mailman/listinfo/rockbox
Received on Tue Jul 26 14:46:08 2005


Page was last modified "Jan 10 2012" The Rockbox Crew
aaa