Mercurial > audlegacy-plugins
changeset 1224:0ff4f43fe907
Automated merge with ssh://hg.atheme.org//hg/audacious-plugins
author | William Pitcock <nenolod@atheme-project.org> |
---|---|
date | Mon, 09 Jul 2007 05:03:05 -0500 |
parents | a6e6b0ea4535 (diff) aeea3e7b0060 (current diff) |
children | 08f28756209c |
files | |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lastfm/lastfm.c Mon Jul 09 17:54:57 2007 +0900 +++ b/src/lastfm/lastfm.c Mon Jul 09 05:03:05 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; }