3ede8ec
diff -Nur audacious-plugins-2.2-orig/src/xspf/xspf.c audacious-plugins-2.2-xspf/src/xspf/xspf.c
3ede8ec
--- audacious-plugins-2.2-orig/src/xspf/xspf.c	2009-11-22 23:49:54.000000000 +0100
3ede8ec
+++ audacious-plugins-2.2-xspf/src/xspf/xspf.c	2009-12-31 14:33:33.000000000 +0100
3ede8ec
@@ -106,8 +106,8 @@
3ede8ec
             if (!xmlStrcmp(nptr->name, (xmlChar *)"location")) {
3ede8ec
                 /* Location is a special case */
3ede8ec
                 gchar *str = (gchar *)xmlNodeGetContent(nptr);
3ede8ec
-                if (!strstr(str, "://") && base)
3ede8ec
-                    location = g_strdup_printf("%s/%s", base, str);
3ede8ec
+                if (!strstr(str, "://") && base && str[0]!='/')
3ede8ec
+                    location = g_strdup_printf("file://%s/%s", base, str);
3ede8ec
                 else
3ede8ec
                     location = g_strdup(str);
3ede8ec
                 xmlFree(str);