Mercurial > audlegacy-plugins
comparison src/lastfm/lastfm.c @ 1220:4730e246f536
Remove metadata debugging notices.
author | William Pitcock <nenolod@atheme-project.org> |
---|---|
date | Sun, 08 Jul 2007 22:40:38 -0500 |
parents | 31c44eb25a4a |
children | 619cd8c8def5 |
comparison
equal
deleted
inserted
replaced
1219:31c44eb25a4a | 1220:4730e246f536 |
---|---|
450 | 450 |
451 gchar *lastfm_vfs_metadata_impl(VFSFile * file, const gchar * field) | 451 gchar *lastfm_vfs_metadata_impl(VFSFile * file, const gchar * field) |
452 { | 452 { |
453 LastFM *handle = file->handle; | 453 LastFM *handle = file->handle; |
454 | 454 |
455 g_print("artist: %s track: %s station: %s\n", | |
456 handle->lastfm_artist, handle->lastfm_title, handle->lastfm_station_name); | |
457 | |
458 if (!g_ascii_strncasecmp(field, "stream-name", 11) && (handle->lastfm_station_name != NULL)) | 455 if (!g_ascii_strncasecmp(field, "stream-name", 11) && (handle->lastfm_station_name != NULL)) |
459 return g_strdup(handle->lastfm_station_name); | 456 return g_strdup(handle->lastfm_station_name); |
460 if (!g_ascii_strncasecmp(field, "track-name", 10) && (handle->lastfm_title != NULL) && (handle->lastfm_artist != NULL)) | 457 if (!g_ascii_strncasecmp(field, "track-name", 10) && (handle->lastfm_title != NULL) && (handle->lastfm_artist != NULL)) |
461 return g_strdup_printf("%s - %s", handle->lastfm_artist, handle->lastfm_title); | 458 return g_strdup_printf("%s - %s", handle->lastfm_artist, handle->lastfm_title); |
462 | 459 |