# HG changeset patch # User Cristi Magherusan # Date 1196722936 -7200 # Node ID 21833104ed4c95ba058e5a48cab53a062240793a # Parent 2082537138d023ec136ffc0aa47eb5c00b2361d4 fixed(URI-fied) "remove unavailable files" diff -r 2082537138d0 -r 21833104ed4c src/audacious/playlist.c --- a/src/audacious/playlist.c Mon Dec 03 09:54:19 2007 -0600 +++ b/src/audacious/playlist.c Tue Dec 04 01:02:16 2007 +0200 @@ -2740,9 +2740,7 @@ continue; } - /* FIXME: What about 'file:///'? */ - /* Don't kill URLs */ - if (strstr(entry->filename, "://")) + if (!g_str_has_prefix(entry->filename, "file://")) continue; /* FIXME: Should test for readability */