changeset 362:f7a8c1280ef6 trunk

[svn] - nevermind, m3u did need an update.
author nenolod
date Mon, 11 Dec 2006 05:15:01 -0800
parents f201074bf69a
children 958855dae693
files ChangeLog src/m3u/m3u.c
diffstat 2 files changed, 11 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Mon Dec 11 05:13:54 2006 -0800
+++ b/ChangeLog	Mon Dec 11 05:15:01 2006 -0800
@@ -1,3 +1,12 @@
+2006-12-11 13:13:54 +0000  William Pitcock <nenolod@nenolod.net>
+  revision [790]
+  - update playlist code. M3U was simple and did not require anything special.
+  
+  trunk/src/pls/pls.c   |    9 +++++----
+  trunk/src/xspf/xspf.c |    3 ++-
+  2 files changed, 7 insertions(+), 5 deletions(-)
+
+
 2006-12-11 10:55:54 +0000  Yoshiki Yazawa <yaz@cc.rim.or.jp>
   revision [788]
   - build fix.
--- a/src/m3u/m3u.c	Mon Dec 11 05:13:54 2006 -0800
+++ b/src/m3u/m3u.c	Mon Dec 11 05:15:01 2006 -0800
@@ -83,6 +83,7 @@
     gsize line_len = 1024;
     gint ext_len = -1;
     gboolean is_extm3u = FALSE;
+    Playlist *playlist = playlist_get_active();
 
     if ((file = vfs_fopen(filename, "rb")) == NULL)
         return;
@@ -124,7 +125,7 @@
             ext_info = NULL;
         }
 
-        playlist_load_ins_file(line, filename, pos, ext_title, ext_len);
+        playlist_load_ins_file(playlist, line, filename, pos, ext_title, ext_len);
 
         str_replace_in(&ext_title, NULL);
         ext_len = -1;