changeset 1250:d8c1706faac4

Supposedly fix m3u loading, waiting on core patch. Untested, moan at Crazy_Hopper if broken.
author Alex Maclean <monkeh@monkeh.net>
date Fri, 13 Jul 2007 01:25:58 +0000
parents a6b9946ca928
children 9addc8bc98d6 bd19eda4ae66
files src/m3u/m3u.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/m3u/m3u.c	Fri Jul 13 00:20:37 2007 +0000
+++ b/src/m3u/m3u.c	Fri Jul 13 01:25:58 2007 +0000
@@ -86,7 +86,7 @@
     gboolean is_extm3u = FALSE;
     Playlist *playlist = playlist_get_active();
 
-    if ((file = vfs_fopen(filename, "rb")) == NULL)
+    if ((file = vfs_fopen(g_filename_to_uri(filename, NULL, NULL), "rb")) == NULL)
         return;
 
     line = g_malloc(line_len);