From: Marcel van der Veldt Date: Tue, 25 Feb 2025 22:36:20 +0000 (+0100) Subject: Fix: ignore thumbnail stream for tags parsing X-Git-Url: https://git.kitaultman.com/?a=commitdiff_plain;h=10524e17cfd607439aba6fe7a8c77974496e6db7;p=music-assistant-server.git Fix: ignore thumbnail stream for tags parsing --- diff --git a/music_assistant/helpers/tags.py b/music_assistant/helpers/tags.py index f5f0fe64..06c8bcb5 100644 --- a/music_assistant/helpers/tags.py +++ b/music_assistant/helpers/tags.py @@ -398,6 +398,8 @@ class AudioTags: # append any tags found in streams (but don't overwrite format tags) tags = {} for stream in [raw["format"]] + raw["streams"]: + if stream.get("codec_type") == "video": + continue for key, value in stream.get("tags", {}).items(): alt_key = key.lower().replace(" ", "").replace("_", "").replace("-", "") if alt_key in tags: