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 /src | |
parent | e0b48b5fcc97b4979b32c79fe82c2fab5af89b86 (diff) | |
download | pianobar-windows-eb46d942e5ecf50ff9f85ee62ea2fa454aa228fa.tar.gz pianobar-windows-eb46d942e5ecf50ff9f85ee62ea2fa454aa228fa.tar.bz2 pianobar-windows-eb46d942e5ecf50ff9f85ee62ea2fa454aa228fa.zip |
Use album title too (for scrobbling, e.g.)
Diffstat (limited to 'src')
-rw-r--r-- | src/main.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -342,8 +342,9 @@ int main (int argc, char **argv) { PianoStation_t *realStation = PianoFindStationById (ph.stations, curSong->stationId); - printf ("\"%s\" by \"%s\"%s%s%s\n", curSong->title, - curSong->artist, (curSong->rating == + printf ("\"%s\" by \"%s\" on \"%s\"%s%s%s\n", + curSong->title, curSong->artist, curSong->album, + (curSong->rating == PIANO_RATE_LOVE) ? " (Loved)" : "", curStation->isQuickMix ? " @ ": "", curStation->isQuickMix ? realStation->name : @@ -353,6 +354,7 @@ int main (int argc, char **argv) { WardrobeSongInit (&scrobbleSong); scrobbleSong.artist = strdup (curSong->artist); scrobbleSong.title = strdup (curSong->title); + scrobbleSong.album = strdup (curSong->album); scrobbleSong.started = time (NULL); memset (&player, 0, sizeof (player)); |