changeset 1589:ebc170f08767 trunk

[svn] - file_path should not contain file name.
author yaz
date Wed, 23 Aug 2006 23:09:05 -0700
parents 15d92c51bde6
children fd943ec96935
files ChangeLog Plugins/Container/xspf/xspf.c
diffstat 2 files changed, 17 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Wed Aug 23 07:46:33 2006 -0700
+++ b/ChangeLog	Wed Aug 23 23:09:05 2006 -0700
@@ -1,3 +1,19 @@
+2006-08-23 14:46:33 +0000  Yoshiki Yazawa <yaz@cc.rim.or.jp>
+  revision [2099]
+  - modified time (mtime) has been introduced into tuple
+  - playlist makes use of mtime for scan control
+  - xspf records and reads mtime
+  
+
+  Changes:        Modified:
+  +19 -0          trunk/Plugins/Container/xspf/xspf.c  
+  +1 -0           trunk/audacious/input.c  
+  +58 -21         trunk/audacious/playlist.c  
+  +4 -3           trunk/audacious/titlestring.h  
+  +1 -0           trunk/audacious/ui_fileinfo.c  
+  +2 -1           trunk/libaudacious/titlestring.h  
+
+
 2006-08-20 19:20:36 +0000  George Averill <nhjm449@gmail.com>
   revision [2097]
   - Don't explode when loading http streams from xspf files.
--- a/Plugins/Container/xspf/xspf.c	Wed Aug 23 07:46:33 2006 -0700
+++ b/Plugins/Container/xspf/xspf.c	Wed Aug 23 23:09:05 2006 -0700
@@ -64,7 +64,7 @@
 			xmlFree(str);
 			if(locale_uri){
 				tuple->file_name = g_path_get_basename(locale_uri);
-				tuple->file_path = g_strdup(locale_uri);
+				tuple->file_path = g_path_get_dirname(locale_uri);
 			}
 		}
 		else if(nptr->type == XML_ELEMENT_NODE && !strcmp(nptr->name, "creator")){