changeset 1463:3127da6ae5da

fix compile errors if DEBUG is defined.
author Yoshiki Yazawa <yaz@cc.rim.or.jp>
date Sat, 11 Aug 2007 14:29:58 +0900
parents 6edbd225b100
children a19e4395eaff 159186076d9a
files src/madplug/plugin.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/madplug/plugin.c	Sat Aug 11 14:27:41 2007 +0900
+++ b/src/madplug/plugin.c	Sat Aug 11 14:29:58 2007 +0900
@@ -687,8 +687,8 @@
             }
 
 #ifdef DEBUG
-            g_message("audmad_get_song_tuple: track_name = %s", tuple->track_name);
-            g_message("audmad_get_song_tuple: stream_name = %s", tuple->album_name);
+            g_message("audmad_get_song_tuple: track_name = %s", tuple_get_string(tuple, "track-name"));
+            g_message("audmad_get_song_tuple: stream_name = %s", tuple_get_string(tuple, "stream-name"));
 #endif
             realfn = g_filename_from_uri(filename, NULL, NULL);
             __set_and_free(tuple, "file-name", g_path_get_basename(realfn ? realfn : filename));
@@ -776,7 +776,7 @@
             __set_and_free(tuple, "genre", input_id3_get_string(tag, ID3_FRAME_GENRE));
             __set_and_free(tuple, "comment", input_id3_get_string(tag, ID3_FRAME_COMMENT));
 #ifdef DEBUG
-            g_message("genre = %s", tuple->genre);
+            g_message("genre = %s", tuple_get_string(tuple, "genre"));
 #endif
         }
         id3_file_close(id3file);