TagArchive: add overload with ArchiveFile&

This commit is contained in:
Max Kellermann
2016-02-26 14:46:01 +01:00
parent c4537fe6f6
commit ae37e25452
2 changed files with 26 additions and 0 deletions

View File

@@ -22,6 +22,7 @@
#include "check.h"
class ArchiveFile;
class Path;
struct TagHandler;
class TagBuilder;
@@ -48,4 +49,16 @@ tag_archive_scan(Path path, const TagHandler &handler, void *handler_ctx);
bool
tag_archive_scan(Path path, TagBuilder &builder);
/**
* Scan the tags of a song file inside an archive. Invokes matching
* decoder plugins, and falls back to generic scanners (APE and ID3)
* if no tags were found (but the file was recognized).
*
* @return true if the file was recognized (even if no metadata was
* found)
*/
bool
tag_archive_scan(ArchiveFile &archive, const char *path_utf8,
TagBuilder &builder);
#endif