diff options
author | Max Kellermann <max@duempel.org> | 2016-02-26 15:07:00 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2016-02-26 15:07:00 +0100 |
commit | ed5058a363714513269e1f5279a24f2a125036dc (patch) | |
tree | a52da2f71ccb4117a63adb21f9034cd7dbff4791 | |
parent | a670ff6d3e8270e15d6549b37fcd993182a6cb7b (diff) |
TagArchive: remove obsolete overload
-rw-r--r-- | src/TagArchive.cxx | 12 | ||||
-rw-r--r-- | src/TagArchive.hxx | 11 |
2 files changed, 0 insertions, 23 deletions
diff --git a/src/TagArchive.cxx b/src/TagArchive.cxx index 935669025..53413c1df 100644 --- a/src/TagArchive.cxx +++ b/src/TagArchive.cxx @@ -48,18 +48,6 @@ tag_archive_scan(Path path, const TagHandler &handler, void *handler_ctx) } bool -tag_archive_scan(Path path, TagBuilder &builder) -{ - assert(!path.IsNull()); - - Mutex mutex; - Cond cond; - InputStreamPtr is(OpenArchiveInputStream(path, mutex, cond, - IgnoreError())); - return is && tag_stream_scan(*is, builder); -} - -bool tag_archive_scan(ArchiveFile &archive, const char *path_utf8, TagBuilder &builder) { diff --git a/src/TagArchive.hxx b/src/TagArchive.hxx index 0791bf6eb..854a1430b 100644 --- a/src/TagArchive.hxx +++ b/src/TagArchive.hxx @@ -47,17 +47,6 @@ tag_archive_scan(Path path, const TagHandler &handler, void *handler_ctx); * found) */ 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); |