Fix crappy copilot typo
authorMarcel van der Veldt <m.vanderveldt@outlook.com>
Wed, 2 Apr 2025 06:51:55 +0000 (08:51 +0200)
committerMarcel van der Veldt <m.vanderveldt@outlook.com>
Wed, 2 Apr 2025 06:51:55 +0000 (08:51 +0200)
music_assistant/controllers/streams.py

index 23eda6e98d6fd6a61cd197e007684d42e260818f..0b185410306c218ba6f3305b1b32165b9ec66458 100644 (file)
@@ -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