# HG changeset patch # User Cristi Magherusan # Date 1185102979 -10800 # Node ID 2812140dba3f13055733bec2e769d71f74df557f # Parent 34b4b7c9bcd4ffd975c86fc9def64dbdb0861c1b Backed out changeset 4673533d7cc3 it was useless because the mimetype overrides it anyway diff -r 34b4b7c9bcd4 -r 2812140dba3f src/audacious/input.c --- a/src/audacious/input.c Sun Jul 22 14:03:17 2007 +0300 +++ b/src/audacious/input.c Sun Jul 22 14:16:19 2007 +0300 @@ -364,12 +364,11 @@ filename_proxy = g_strdup(filename); /* Some URIs will end in ? to determine the subsong requested. */ - /* other streams (like lastfm's) end in ?Session=*/ tmp_uri = g_strdup(filename); tmp = strrchr(tmp_uri, '?'); - if (tmp != NULL && (g_ascii_isdigit(*(tmp + 1))|| !g_strncasecmp(tmp+1,"Session=",8))) + if (tmp != NULL && g_ascii_isdigit(*(tmp + 1))) *tmp = '\0'; fd = vfs_buffered_file_new_from_uri(tmp_uri);