[tracker] tracker-extract-mp3: Add simple frame tracing to ID3v2.2 and ID3v2.3



commit 374478ef11f3282e3768f84e2c2f81f17084e3bf
Author: Jürg Billeter <j bitron ch>
Date:   Wed May 11 14:52:19 2011 +0200

    tracker-extract-mp3: Add simple frame tracing to ID3v2.2 and ID3v2.3

 src/tracker-extract/tracker-extract-mp3.c |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/src/tracker-extract/tracker-extract-mp3.c b/src/tracker-extract/tracker-extract-mp3.c
index 5968581..2ab3796 100644
--- a/src/tracker-extract/tracker-extract-mp3.c
+++ b/src/tracker-extract/tracker-extract-mp3.c
@@ -1244,7 +1244,7 @@ get_id3v24_tags (id3v24frame           frame,
 		}
 
 #ifdef FRAME_ENABLE_TRACE
-		g_debug ("Frame is %d, word is %s", frame, word);
+		g_debug ("ID3v2.4: Frame is %d, word is %s", frame, word);
 #endif /* FRAME_ENABLE_TRACE */
 
 		switch (frame) {
@@ -1433,6 +1433,10 @@ get_id3v23_tags (id3v24frame           frame,
 			g_strstrip (word);
 		}
 
+#ifdef FRAME_ENABLE_TRACE
+		g_debug ("ID3v2.3: Frame is %d, word is %s", frame, word);
+#endif /* FRAME_ENABLE_TRACE */
+
 		switch (frame) {
 		case ID3V24_TALB:
 			tag->album = word;
@@ -1574,6 +1578,10 @@ get_id3v20_tags (id3v2frame            frame,
 			g_strstrip (word);
 		}
 
+#ifdef FRAME_ENABLE_TRACE
+		g_debug ("ID3v2.2: Frame is %d, word is %s", frame, word);
+#endif /* FRAME_ENABLE_TRACE */
+
 		switch (frame) {
 		case ID3V2_COM:
 			tag->comment = word;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]