changeset 2637:420ce282920d trunk

[svn] - clear playlist attribute when playlist_clear() is called.
author yaz
date Wed, 21 Mar 2007 03:25:21 -0700
parents 517d13842fe7
children 12a8681e144a
files ChangeLog src/audacious/build_stamp.c src/audacious/playlist.c
diffstat 3 files changed, 15 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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 <yaz@cc.rim.or.jp>
+  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 <yaz@cc.rim.or.jp>
   revision [4288]
   tweak UI behaviors:
--- 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 <glib.h>
-const gchar *svn_stamp = "20070321-4288";
+const gchar *svn_stamp = "20070321-4290";
--- 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 );