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