# HG changeset patch # User nenolod # Date 1155263095 25200 # Node ID a6793cf239e932774c892329db859a5e696d5bc0 # Parent dc3ae578e7b64144a7c9fc24ae7edc7b3d9e0030 [svn] - .pls playlists work again, now to do M3Us. diff -r dc3ae578e7b6 -r a6793cf239e9 ChangeLog --- 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 + 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 revision [2026] - cleanup diff -r dc3ae578e7b6 -r a6793cf239e9 audacious/main.c --- 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]); diff -r dc3ae578e7b6 -r a6793cf239e9 audacious/playlist_pls.c --- 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); +} +