# HG changeset patch # User Yoshiki Yazawa # Date 1186810061 -32400 # Node ID 6edbd225b1005381d0ebcbd95cf4e8d099b2a9ed # Parent 161d289f335c5cb8c237b0eccdb959cb9f989b6a playlist entry doesn't have "track-name". diff -r 161d289f335c -r 6edbd225b100 src/xspf/xspf.c --- 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));