diff options
author | Lars-Dominik Braun <PromyLOPh@gmail.com> | 2008-06-25 14:49:58 +0200 |
---|---|---|
committer | Lars-Dominik Braun <PromyLOPh@gmail.com> | 2008-06-25 14:50:54 +0200 |
commit | a39f7626758a7d26c1bc419b1eaa46cbfee5ecaa (patch) | |
tree | 39828b6b9b2d0c3f3859cbd7a3eaa022c1fa3660 /libpiano/src/xml.c | |
parent | af2ceec1e540bae28fdd3ec07158dcd137d3c9da (diff) | |
download | pianobar-a39f7626758a7d26c1bc419b1eaa46cbfee5ecaa.tar.gz pianobar-a39f7626758a7d26c1bc419b1eaa46cbfee5ecaa.tar.bz2 pianobar-a39f7626758a7d26c1bc419b1eaa46cbfee5ecaa.zip |
piano/client: Initial ban-for-a-month implementation
Use it when you're tired of hearing a single song again and again...
Diffstat (limited to 'libpiano/src/xml.c')
-rw-r--r-- | libpiano/src/xml.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; |