diff options
author | Lars-Dominik Braun <PromyLOPh@gmail.com> | 2008-07-02 21:08:25 +0200 |
---|---|---|
committer | Lars-Dominik Braun <PromyLOPh@gmail.com> | 2008-07-02 21:08:25 +0200 |
commit | c3cdc31f0d3b2fd3313cba5044e1207adba81048 (patch) | |
tree | abb478451598fd038bfd0e8a0ada849cd4c46765 /src | |
parent | a711635a5a031107da3ecc0b0e1c939277e34572 (diff) | |
download | pianobar-c3cdc31f0d3b2fd3313cba5044e1207adba81048.tar.gz pianobar-c3cdc31f0d3b2fd3313cba5044e1207adba81048.tar.bz2 pianobar-c3cdc31f0d3b2fd3313cba5044e1207adba81048.zip |
client: Show real station when playing quickmix song
Diffstat (limited to 'src')
-rw-r--r-- | src/main.c | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -336,9 +336,15 @@ int main (int argc, char **argv) { } } if (curSong != NULL) { - printf ("\"%s\" by \"%s\"%s\n", curSong->title, + PianoStation_t *realStation = + PianoFindStationById (ph.stations, + curSong->stationId); + printf ("\"%s\" by \"%s\"%s%s%s\n", curSong->title, curSong->artist, (curSong->rating == - PIANO_RATE_LOVE) ? " (Loved)" : ""); + PIANO_RATE_LOVE) ? " (Loved)" : "", + curStation->isQuickMix ? " @ ": "", + curStation->isQuickMix ? realStation->name : + ""); /* setup artist and song name for scrobbling (curSong * may be NULL later) */ WardrobeSongInit (&scrobbleSong); |