# HG changeset patch # User William Pitcock # Date 1183975376 18000 # Node ID a6e6b0ea45354b9770283165b890f696e28111dc # Parent 619cd8c8def510cbce5927bd5d67eec482f071c7 Add mimetype integration. diff -r 619cd8c8def5 -r a6e6b0ea4535 src/lastfm/lastfm.c --- a/src/lastfm/lastfm.c Sun Jul 08 22:42:16 2007 -0500 +++ b/src/lastfm/lastfm.c Mon Jul 09 05:02:56 2007 -0500 @@ -456,6 +456,8 @@ return g_strdup_printf("last.fm radio: %s", handle->lastfm_station_name); if (!g_ascii_strncasecmp(field, "track-name", 10) && (handle->lastfm_title != NULL) && (handle->lastfm_artist != NULL)) return g_strdup_printf("%s - %s", handle->lastfm_artist, handle->lastfm_title); + if (!g_ascii_strncasecmp(field, "content-type", 12)) + return g_strdup("audio/mpeg"); return NULL; }