summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-10-26 15:33:53 +0200
committerMax Kellermann <max@duempel.org>2013-10-26 16:04:29 +0200
commit17ec3b0c2d83da9cae3dc0e649cef2568d20e7c1 (patch)
treebe393fabe4b195da6db1009cb70799117be953ba /src
parentfb7513754027dd59b89955c21c7ab19653ba466e (diff)
FileCommands: "readcomments" understands APE and ID3v2 tags
Implements Mantis ticket 3843.
Diffstat (limited to 'src')
-rw-r--r--src/command/FileCommands.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/command/FileCommands.cxx b/src/command/FileCommands.cxx
index 9df5b8b58..eecc3102f 100644
--- a/src/command/FileCommands.cxx
+++ b/src/command/FileCommands.cxx
@@ -27,6 +27,8 @@
#include "util/CharUtil.hxx"
#include "util/Error.hxx"
#include "tag/TagHandler.hxx"
+#include "tag/ApeTag.hxx"
+#include "tag/TagId3.hxx"
#include "TagFile.hxx"
#include "Mapper.hxx"
#include "fs/AllocatedPath.hxx"
@@ -118,5 +120,8 @@ handle_read_comments(Client &client, gcc_unused int argc, char *argv[])
return CommandResult::ERROR;
}
+ tag_ape_scan2(path_fs, &print_comment_handler, &client);
+ tag_id3_scan(path_fs, &print_comment_handler, &client);
+
return CommandResult::OK;
}