From 3a8c4580e3f81786f82eafc4a46fc32c818c7e0a Mon Sep 17 00:00:00 2001 From: Alba Date: Fri, 9 Oct 2026 16:13:25 +0200 Subject: [PATCH 1/2] fix(28246): Avoid duplicate YouTube tracks for audio --- EventListener/UpdateListener.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/EventListener/UpdateListener.php b/EventListener/UpdateListener.php index 6b7307a..660c654 100644 --- a/EventListener/UpdateListener.php +++ b/EventListener/UpdateListener.php @@ -55,7 +55,7 @@ private function shouldGenerateJobForAudio(MultimediaObject $multimediaObject): return; } - if ($multimediaObject->getTrackWithTag('profile:'.$this->youtubeConfig->defaultTrackUpload())) { + if ($multimediaObject->getTrackWithTag('youtube')) { return; } From dc0542ea12b1bfb7dd1eabc3fa45f62f00c57bd2 Mon Sep 17 00:00:00 2001 From: Alba Date: Tue, 13 Oct 2026 10:16:49 +0200 Subject: [PATCH 2/2] fix(28246): Preserve profile check when preventing duplicate YouTube tracks --- EventListener/UpdateListener.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/EventListener/UpdateListener.php b/EventListener/UpdateListener.php index 660c654..7cca4ba 100644 --- a/EventListener/UpdateListener.php +++ b/EventListener/UpdateListener.php @@ -55,6 +55,10 @@ private function shouldGenerateJobForAudio(MultimediaObject $multimediaObject): return; } + if ($multimediaObject->getTrackWithTag('profile:'.$this->youtubeConfig->defaultTrackUpload())) { + return; + } + if ($multimediaObject->getTrackWithTag('youtube')) { return; }