summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index 0a31a5e..49914ba 100644
--- a/src/main.c
+++ b/src/main.c
@@ -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));