Mercurial > audlegacy-plugins
diff src/lastfm/lastfm.c @ 1016:77153fae50e3 trunk
[svn] - don't report content-length
author | nenolod |
---|---|
date | Fri, 11 May 2007 09:37:33 -0700 |
parents | af586df84c9b |
children | 2f0b7056f354 |
line wrap: on
line diff
--- a/src/lastfm/lastfm.c Fri May 11 09:32:54 2007 -0700 +++ b/src/lastfm/lastfm.c Fri May 11 09:37:33 2007 -0700 @@ -223,15 +223,16 @@ #endif sleep(sleep_time); +#if 0 if (handle->proxy_fd == NULL) opened_file = FALSE; +#endif } #ifdef DEBUG g_print("Exiting a thread\n"); #endif - - + metadata_thread = NULL; return NULL; } @@ -381,10 +382,6 @@ return g_strdup(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-length", 14)) - return g_strdup_printf("%d", handle->lastfm_duration); - - return NULL; }