# HG changeset patch # User nenolod # Date 1178901453 25200 # Node ID 77153fae50e32d358f5b0cb9c4356c646c738118 # Parent 69cf6184edef4ba19cfd108998b2f49f4b6e6857 [svn] - don't report content-length diff -r 69cf6184edef -r 77153fae50e3 ChangeLog --- a/ChangeLog Fri May 11 09:32:54 2007 -0700 +++ b/ChangeLog Fri May 11 09:37:33 2007 -0700 @@ -1,3 +1,11 @@ +2007-05-11 16:32:54 +0000 William Pitcock + revision [2194] + - make this work without controlsocket + + trunk/src/scrobbler/plugin.c | 18 ++++++++++-------- + 1 file changed, 10 insertions(+), 8 deletions(-) + + 2007-05-11 16:18:02 +0000 William Pitcock revision [2192] - lets avoid spawning >1 threads for metadata diff -r 69cf6184edef -r 77153fae50e3 src/lastfm/lastfm.c --- 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; }