Fix playback of TuneIn streams (#576)
authorMarcel van der Veldt <m.vanderveldt@outlook.com>
Sun, 26 Mar 2023 10:28:06 +0000 (12:28 +0200)
committerGitHub <noreply@github.com>
Sun, 26 Mar 2023 10:28:06 +0000 (12:28 +0200)
Fix playback on TuneIn

music_assistant/server/providers/tunein/__init__.py

index 7f9864b86207c81ae3407ce656e79b16eff2eb38..bd03fa83a871d816a18bcce7411ebbfdd49cd399 100644 (file)
@@ -215,7 +215,7 @@ class TuneInProvider(MusicProvider):
                 media_type=MediaType.RADIO,
                 data=url,
                 expires=time() + 24 * 3600,
-                url=direct,
+                direct=direct,
             )
         raise MediaNotFoundError(f"Unable to retrieve stream details for {item_id}")