changeset 1558:a6793cf239e9 trunk

[svn] - .pls playlists work again, now to do M3Us.
author nenolod
date Thu, 10 Aug 2006 19:24:55 -0700
parents dc3ae578e7b6
children 9a1e4bca7d8b
files ChangeLog audacious/main.c audacious/playlist_pls.c
diffstat 3 files changed, 26 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Thu Aug 10 19:21:37 2006 -0700
+++ b/ChangeLog	Thu Aug 10 19:24:55 2006 -0700
@@ -1,3 +1,13 @@
+2006-08-11 02:21:37 +0000  William Pitcock <nenolod@nenolod.net>
+  revision [2028]
+  - make it compile
+  
+
+  Changes:        Modified:
+  +1 -1           trunk/audacious/main.c  
+  +1 -1           trunk/audacious/main.h  
+
+
 2006-08-11 02:18:20 +0000  William Pitcock <nenolod@nenolod.net>
   revision [2026]
   - cleanup
--- a/audacious/main.c	Thu Aug 10 19:21:37 2006 -0700
+++ b/audacious/main.c	Thu Aug 10 19:24:55 2006 -0700
@@ -96,6 +96,10 @@
     gchar *previous_session_id;
 };
 
+/* XXX -nenolod */
+extern void temporary_pls_register(void);
+extern void temporary_m3u_register(void);
+
 typedef struct _BmpCmdLineOpt BmpCmdLineOpt;
 
 BmpCmdLineOpt options;
@@ -1074,6 +1078,12 @@
         GDK_THREADS_ENTER();
     }
 
+    temporary_pls_register();
+
+#ifdef NOTYET
+    temporary_m3u_register();
+#endif
+
     plugin_system_init();
 
     playlist_load(bmp_paths[BMP_PATH_PLAYLIST_FILE]);
--- a/audacious/playlist_pls.c	Thu Aug 10 19:21:37 2006 -0700
+++ b/audacious/playlist_pls.c	Thu Aug 10 19:24:55 2006 -0700
@@ -98,3 +98,9 @@
 	.plc_write = playlist_save_pls,
 };
 
+void
+temporary_pls_register(void)
+{
+	playlist_container_register(&plc_pls);
+}
+