From d8fc77101dcf80a3643a00b3446dca1e390ce997 Mon Sep 17 00:00:00 2001 From: jacqueline Date: Thu, 10 Aug 2023 15:33:00 +1000 Subject: Give codecs complete control of their input files --- src/database/database.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/database/database.cpp') diff --git a/src/database/database.cpp b/src/database/database.cpp index 61e292ff..e6341e43 100644 --- a/src/database/database.cpp +++ b/src/database/database.cpp @@ -173,7 +173,7 @@ auto Database::Update() -> std::future { TrackTags tags{}; if (!tag_parser_->ReadAndParseTags(track->filepath(), &tags) || - tags.encoding() == Encoding::kUnsupported) { + tags.encoding() == Container::kUnsupported) { // We couldn't read the tags for this track. Either they were // malformed, or perhaps the file is missing. Either way, tombstone // this record. @@ -209,7 +209,7 @@ auto Database::Update() -> std::future { file_gatherer_->FindFiles("", [&](const std::string& path) { TrackTags tags; if (!tag_parser_->ReadAndParseTags(path, &tags) || - tags.encoding() == Encoding::kUnsupported) { + tags.encoding() == Container::kUnsupported) { // No parseable tags; skip this fiile. return; } -- cgit v1.2.3