# HG changeset patch # User nenolod # Date 1155267887 25200 # Node ID e513069caf718aac5a211a85bfa90f3ec337347d # Parent 88c0aabb42860a3a8d6490b39b928f2c9914c316 [svn] - pls and m3u is now fully modular diff -r 88c0aabb4286 -r e513069caf71 ChangeLog --- a/ChangeLog Thu Aug 10 20:41:43 2006 -0700 +++ b/ChangeLog Thu Aug 10 20:44:47 2006 -0700 @@ -1,3 +1,14 @@ +2006-08-11 03:41:43 +0000 William Pitcock + revision [2044] + - remove static version + + + Changes: Modified: + +0 -2 trunk/audacious/Makefile + +0 -195 trunk/audacious/playlist_m3u.c + +0 -107 trunk/audacious/playlist_pls.c + + 2006-08-11 03:39:18 +0000 William Pitcock revision [2042] - m3u and pls plugin implementation diff -r 88c0aabb4286 -r e513069caf71 audacious/main.c --- a/audacious/main.c Thu Aug 10 20:41:43 2006 -0700 +++ b/audacious/main.c Thu Aug 10 20:44:47 2006 -0700 @@ -96,10 +96,6 @@ gchar *previous_session_id; }; -/* XXX -nenolod */ -extern void temporary_pls_register(void); -extern void temporary_m3u_register(void); - typedef struct _BmpCmdLineOpt BmpCmdLineOpt; BmpCmdLineOpt options; @@ -1078,9 +1074,6 @@ GDK_THREADS_ENTER(); } - temporary_pls_register(); - temporary_m3u_register(); - plugin_system_init(); playlist_load(bmp_paths[BMP_PATH_PLAYLIST_FILE]); diff -r 88c0aabb4286 -r e513069caf71 audacious/pluginenum.c --- a/audacious/pluginenum.c Thu Aug 10 20:41:43 2006 -0700 +++ b/audacious/pluginenum.c Thu Aug 10 20:44:47 2006 -0700 @@ -262,6 +262,7 @@ GList *node; OutputPlugin *op; InputPlugin *ip; + LowlevelPlugin *lp; gint dirsel = 0, i = 0; if (!g_module_supported()) { @@ -343,6 +344,12 @@ ip->init(); } + for (node = lowlevel_list; node; node = g_list_next(node)) { + lp = LOWLEVEL_PLUGIN(node->data); + if (lp->init) + lp->init(); + } + if (cfg.disabled_iplugins) { disabled = g_strsplit(cfg.disabled_iplugins, ":", 0); while (disabled[i]) {