FileCommands: "readcomments" understands APE and ID3v2 tags

Implements Mantis ticket 3843.
This commit is contained in:
Max Kellermann 2013-10-26 15:33:53 +02:00
parent fb75137540
commit 17ec3b0c2d

View File

@ -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;
}