changeset 1221:619cd8c8def5

Prefix the station name with last.fm to denote that it's coming from last.fm.
author William Pitcock <nenolod@atheme-project.org>
date Sun, 08 Jul 2007 22:42:16 -0500
parents 4730e246f536
children aeea3e7b0060 a6e6b0ea4535
files src/lastfm/lastfm.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/lastfm/lastfm.c	Sun Jul 08 22:40:38 2007 -0500
+++ b/src/lastfm/lastfm.c	Sun Jul 08 22:42:16 2007 -0500
@@ -453,7 +453,7 @@
         LastFM *handle = file->handle;
 
         if (!g_ascii_strncasecmp(field, "stream-name", 11) && (handle->lastfm_station_name != NULL))
-                return g_strdup(handle->lastfm_station_name);
+                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);