From: Marcel van der Veldt Date: Fri, 17 Jun 2022 19:25:03 +0000 (+0200) Subject: fix typo X-Git-Url: https://git.kitaultman.com/?a=commitdiff_plain;h=50fcb807af0184fa70c857c305e8132f8e78e194;p=music-assistant-server.git fix typo --- diff --git a/music_assistant/controllers/streams.py b/music_assistant/controllers/streams.py index c60d7dcb..7e715d17 100644 --- a/music_assistant/controllers/streams.py +++ b/music_assistant/controllers/streams.py @@ -160,9 +160,10 @@ class StreamsController: "Connection": "Close", "contentFeatures.dlna.org": "DLNA.ORG_OP=00;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=0d500000000000000000000000000000", } + resp = web.StreamResponse(headers=headers) + await resp.prepare(request) + if request.method == "GET": - resp = web.StreamResponse(headers=headers) - await resp.prepare(request) client_id = request.remote await queue_stream.subscribe(client_id, resp.write)