# HG changeset patch # User yaz # Date 1174472721 25200 # Node ID 420ce282920d1bb15d17558e95f4b92ecffc75f4 # Parent 517d13842fe792af5d2158ec43373a3451f8f1db [svn] - clear playlist attribute when playlist_clear() is called. diff -r 517d13842fe7 -r 420ce282920d ChangeLog --- a/ChangeLog Wed Mar 21 02:13:02 2007 -0700 +++ b/ChangeLog Wed Mar 21 03:25:21 2007 -0700 @@ -1,3 +1,16 @@ +2007-03-21 09:13:02 +0000 Yoshiki Yazawa + revision [4290] + improve support for static playlist. + - Playlist.attribute has been introduced. if loading playlist file is marked as static playlist, this value would be set. + - now user can specify whether save as a static playlist or not. + - thanks to Playlist.attribute, meaningful mtime in a static playlist will be preserved. + + trunk/src/audacious/playlist.c | 10 ++++++---- + trunk/src/audacious/playlist.h | 8 ++++++++ + trunk/src/audacious/ui_playlist.c | 19 +++++++++++++++++++ + 3 files changed, 33 insertions(+), 4 deletions(-) + + 2007-03-21 08:59:48 +0000 Yoshiki Yazawa revision [4288] tweak UI behaviors: diff -r 517d13842fe7 -r 420ce282920d src/audacious/build_stamp.c --- a/src/audacious/build_stamp.c Wed Mar 21 02:13:02 2007 -0700 +++ b/src/audacious/build_stamp.c Wed Mar 21 03:25:21 2007 -0700 @@ -1,2 +1,2 @@ #include -const gchar *svn_stamp = "20070321-4288"; +const gchar *svn_stamp = "20070321-4290"; diff -r 517d13842fe7 -r 420ce282920d src/audacious/playlist.c --- a/src/audacious/playlist.c Wed Mar 21 02:13:02 2007 -0700 +++ b/src/audacious/playlist.c Wed Mar 21 03:25:21 2007 -0700 @@ -400,6 +400,7 @@ playlist->position = NULL; playlist->entries = NULL; playlist->tail = NULL; + playlist->attribute = PLAYLIST_PLAIN; PLAYLIST_UNLOCK( playlist->mutex );