summaryrefslogtreecommitdiff
path: root/libpiano/src/xml.c
diff options
context:
space:
mode:
authorLars-Dominik Braun <PromyLOPh@lavabit.com>2010-02-13 13:17:00 +0100
committerLars-Dominik Braun <PromyLOPh@lavabit.com>2010-02-14 09:35:49 +0100
commit7eba7e939b87b6bebc16ddca94f799e46b2b0aae (patch)
tree085f9f3699404353d9f533c101a181b83bf3d938 /libpiano/src/xml.c
parenta99bfd2480636fed808f22122912f76f3827a65b (diff)
downloadpianobar-7eba7e939b87b6bebc16ddca94f799e46b2b0aae.tar.gz
pianobar-7eba7e939b87b6bebc16ddca94f799e46b2b0aae.tar.bz2
pianobar-7eba7e939b87b6bebc16ddca94f799e46b2b0aae.zip
New feature: Bookmark song/artist (keybinding 'b')
Diffstat (limited to 'libpiano/src/xml.c')
-rw-r--r--libpiano/src/xml.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libpiano/src/xml.c b/libpiano/src/xml.c
index e3c1749..53eeca5 100644
--- a/libpiano/src/xml.c
+++ b/libpiano/src/xml.c
@@ -291,6 +291,8 @@ static void PianoXmlParsePlaylistCb (const char *key, const ezxml_t value,
} else if (strcmp (valueStr, "mp3-hifi") == 0) {
song->audioFormat = PIANO_AF_MP3_HI;
}
+ } else if (strcmp ("artistMusicId", key) == 0) {
+ song->artistMusicId = strdup (valueStr);
}
}