fix typo
authorMarcel van der Veldt <m.vanderveldt@outlook.com>
Wed, 23 Dec 2020 07:37:31 +0000 (08:37 +0100)
committerMarcel van der Veldt <m.vanderveldt@outlook.com>
Wed, 23 Dec 2020 07:37:31 +0000 (08:37 +0100)
music_assistant/constants.py
music_assistant/managers/streams.py

index 889648841a0d16bc58e0ba500455195a14dc333c..7584489bf9882262b818e7303e84b67307b1fcf5 100755 (executable)
@@ -1,6 +1,6 @@
 """All constants for Music Assistant."""
 
-__version__ = "0.0.77"
+__version__ = "0.0.78"
 REQUIRED_PYTHON_VER = "3.7"
 
 # configuration keys/attributes
index ebbb91bf2f294a628b4574b90b6304d3c9a599c4..b72bd7d38d07eb4fcb35970b6ece4ae3ca731595 100755 (executable)
@@ -375,7 +375,7 @@ class StreamManager:
         # stream from URL
         if stream_type == StreamType.URL:
             async with self.mass.http_session.get(stream_path) as response:
-                async for chunk in response.content.iter_chunks():
+                async for chunk in response.content.iter_any():
                     yield chunk
                     if needs_analyze and len(audio_data) < 100000000:
                         audio_data += chunk