From 56ca398dda87a03de7f268ae1646f9232a64b2b9 Mon Sep 17 00:00:00 2001 From: Martchus Date: Wed, 4 May 2022 00:42:48 +0200 Subject: [PATCH] Apply changes to any Ogg Vorbis comment unless a track has been specified This is required since the parsed Ogg Vorbis comment's target is set to the containing Ogg stream as it still makes sense not having to care about the specific track in most cases. --- cli/mainfeatures.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/cli/mainfeatures.cpp b/cli/mainfeatures.cpp index 603fb28..b403c08 100644 --- a/cli/mainfeatures.cpp +++ b/cli/mainfeatures.cpp @@ -690,6 +690,7 @@ void setTagInfo(const SetTagInfoArgs &args) // skip values which scope does not match the current tag if (denotedScope.isTrack() || !(denotedScope.tagType == TagType::Unspecified || (denotedScope.tagType & tagType)) || !(!targetSupported + || (tagType == TagType::OggVorbisComment && denotedScope.tagTarget.isEmpty()) || (denotedScope.exactTargetMatching ? denotedScope.tagTarget == tagTarget : denotedScope.tagTarget.matches(tagTarget)))) { continue;