fix playing radio streams queue updates
authorMarcel van der Veldt <m.vanderveldt@outlook.com>
Mon, 16 May 2022 22:37:08 +0000 (00:37 +0200)
committerMarcel van der Veldt <m.vanderveldt@outlook.com>
Mon, 16 May 2022 22:37:08 +0000 (00:37 +0200)
music_assistant/models/media_items.py

index 0bf60e9b58b50ad0b0ed9ce36adb7df6488b7c56..cad16b87eaa3fc3e7e5fbc014b7bc2efd9c91f26 100755 (executable)
@@ -281,7 +281,7 @@ class Radio(MediaItem):
     """Model for a radio station."""
 
     media_type: MediaType = MediaType.RADIO
-    duration: int = 0
+    duration: int = 172800
 
     def to_db_row(self) -> dict:
         """Create dict from item suitable for db."""