From a39f7626758a7d26c1bc419b1eaa46cbfee5ecaa Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Wed, 25 Jun 2008 14:49:58 +0200 Subject: piano/client: Initial ban-for-a-month implementation Use it when you're tired of hearing a single song again and again... --- libpiano/src/xml.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libpiano/src/xml.c') diff --git a/libpiano/src/xml.c b/libpiano/src/xml.c index 2613f40..3879f4a 100644 --- a/libpiano/src/xml.c +++ b/libpiano/src/xml.c @@ -243,6 +243,8 @@ void PianoXmlParsePlaylistCb (char *key, xmlNode *value, void *data) { song->focusTraitId = strdup (valueStr); } else if (strcmp ("songTitle", key) == 0) { song->title = strdup (valueStr); + } else if (strcmp ("identity", key) == 0) { + song->identity = strdup (valueStr); } else if (strcmp ("rating", key) == 0) { if (strcmp (valueStr, "1") == 0) { song->rating = PIANO_RATE_LOVE; -- cgit v1.2.3