Commit 17ec3b0c authored by Max Kellermann's avatar Max Kellermann

FileCommands: "readcomments" understands APE and ID3v2 tags

Implements Mantis ticket 3843.
parent fb751375
......@@ -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;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment