TagArchive: add TagBuilder overload with ScanGenericTags() fallback

Load APE/ID3 tags from archives.
This commit is contained in:
Max Kellermann
2016-02-26 13:20:30 +01:00
parent 677334f5a9
commit c4537fe6f6
3 changed files with 28 additions and 3 deletions

View File

@@ -31,8 +31,6 @@
#include "decoder/DecoderList.hxx"
#include "tag/Tag.hxx"
#include "tag/TagBuilder.hxx"
#include "tag/TagHandler.hxx"
#include "tag/Generic.hxx"
#include "TagFile.hxx"
#include "TagStream.hxx"
@@ -127,7 +125,7 @@ Song::UpdateFileInArchive(const Storage &storage)
return false;
TagBuilder tag_builder;
if (!tag_archive_scan(path_fs, full_tag_handler, &tag_builder))
if (!tag_archive_scan(path_fs, tag_builder))
return false;
tag_builder.Commit(tag);