diff options
author | Lars-Dominik Braun <PromyLOPh@gmail.com> | 2008-07-07 21:46:32 +0200 |
---|---|---|
committer | Lars-Dominik Braun <PromyLOPh@gmail.com> | 2008-07-07 21:46:32 +0200 |
commit | eb46d942e5ecf50ff9f85ee62ea2fa454aa228fa (patch) | |
tree | 4e1d0fab3eff575274f6ec334680d51936675c7e /libpiano/src/xml.c | |
parent | e0b48b5fcc97b4979b32c79fe82c2fab5af89b86 (diff) | |
download | pianobar-eb46d942e5ecf50ff9f85ee62ea2fa454aa228fa.tar.gz pianobar-eb46d942e5ecf50ff9f85ee62ea2fa454aa228fa.tar.bz2 pianobar-eb46d942e5ecf50ff9f85ee62ea2fa454aa228fa.zip |
Use album title too (for scrobbling, e.g.)
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 377affb..a144255 100644 --- a/libpiano/src/xml.c +++ b/libpiano/src/xml.c @@ -255,6 +255,8 @@ void PianoXmlParsePlaylistCb (char *key, xmlNode *value, void *data) { } } else if (strcmp ("stationId", key) == 0) { song->stationId = strdup (valueStr); + } else if (strcmp ("albumTitle", key) == 0) { + song->album = strdup (valueStr); } } |