changeset 1462:6edbd225b100

playlist entry doesn't have "track-name".
author Yoshiki Yazawa <yaz@cc.rim.or.jp>
date Sat, 11 Aug 2007 14:27:41 +0900
parents 161d289f335c
children 3127da6ae5da
files src/xspf/xspf.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/xspf/xspf.c	Sat Aug 11 02:50:12 2007 +0200
+++ b/src/xspf/xspf.c	Sat Aug 11 14:27:41 2007 +0900
@@ -491,7 +491,7 @@
         if(entry->tuple != NULL) {
             const gchar *scratch;
 
-            if((scratch = tuple_get_string(entry->tuple, "track-name")) != NULL &&
+            if((scratch = tuple_get_string(entry->tuple, "title")) != NULL &&
                g_utf8_validate(scratch, -1, NULL)) {
                 tmp = xmlNewNode(NULL, (xmlChar *)"title");
                 xmlAddChild(tmp, xmlNewText((xmlChar *) scratch));