afs ls -lv: Also print the tag info.
authorAndre Noll <maan@systemlinux.org>
Tue, 25 Sep 2007 19:37:31 +0000 (21:37 +0200)
committerAndre Noll <maan@systemlinux.org>
Tue, 25 Sep 2007 19:37:31 +0000 (21:37 +0200)
aft.c

diff --git a/aft.c b/aft.c
index e643e01..ec05846 100644 (file)
--- a/aft.c
+++ b/aft.c
@@ -785,7 +785,8 @@ static int print_list_item(struct ls_data *d, struct ls_options *opts,
                        "channels: %d\n"
                        "duration: %s\n"
                        "num_played: %d\n"
-                       "last_played: %s\n\n",
+                       "last_played: %s\n"
+                       "tag info: %s\n",
                        (opts->flags & LS_FLAG_FULL_PATH)?
                                "path" : "file", d->path,
                        have_score? "score: " : "", score_buf,
@@ -800,7 +801,8 @@ static int print_list_item(struct ls_data *d, struct ls_options *opts,
                        afhi->channels,
                        duration_buf,
                        afsi->num_played,
-                       last_played_time
+                       last_played_time,
+                       afhi->info_string
                );
                free(att_line);
                free(lyrics_line);