diff options
Diffstat (limited to '')
-rw-r--r-- | src/SongPrint.cxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/SongPrint.cxx b/src/SongPrint.cxx index f607fc151..c2501d037 100644 --- a/src/SongPrint.cxx +++ b/src/SongPrint.cxx @@ -114,5 +114,9 @@ song_print_info(Client &client, const DetachedSong &song, bool base) if (song.GetLastModified() > 0) time_print(client, "Last-Modified", song.GetLastModified()); - tag_print(client, song.GetTag()); + tag_print_values(client, song.GetTag()); + + double duration = song.GetDuration(); + if (duration >= 0) + client_printf(client, "Time: %u\n", unsigned(duration + 0.5)); } |