From: Marcel van der Veldt Date: Wed, 2 Apr 2025 06:51:55 +0000 (+0200) Subject: Fix crappy copilot typo X-Git-Url: https://git.kitaultman.com/?a=commitdiff_plain;h=5b48230f90a1e9cbf15149801beabde9a0f45659;p=music-assistant-server.git Fix crappy copilot typo --- diff --git a/music_assistant/controllers/streams.py b/music_assistant/controllers/streams.py index 23eda6e9..0b185410 100644 --- a/music_assistant/controllers/streams.py +++ b/music_assistant/controllers/streams.py @@ -1227,8 +1227,8 @@ class StreamsController(CoreController): self.logger.debug("Skipping crossfade: next item is not a track") return False if ( - queue_item.MediaType == MediaType.TRACK - and next_item.MediaType == MediaType.TRACK + queue_item.media_type == MediaType.TRACK + and next_item.media_type == MediaType.TRACK and queue_item.media_item and queue_item.media_item.album and next_item.media_item