Allow more aggressive buffering by players that require it (#405)
authorMarcel van der Veldt <m.vanderveldt@outlook.com>
Sun, 10 Jul 2022 21:11:22 +0000 (23:11 +0200)
committerGitHub <noreply@github.com>
Sun, 10 Jul 2022 21:11:22 +0000 (23:11 +0200)
commit6d30449c61b92798cd73fa724e804156adfb33ba
treeb2b5d6533ad727dffcb9265a5e4373ba230526cc
parent0925fc0e0ec4fd259073ef825a4563ccd54200d4
Allow more aggressive buffering by players that require it (#405)

Allow more agressive buffering

For example cast players (especially with Hires audio) want to buffer ahead, allow this without breaking the scenario where the audio source itself is throttled (streaming providers like YT Music)
music_assistant/controllers/streams.py
music_assistant/helpers/audio.py
music_assistant/helpers/process.py
music_assistant/music_providers/spotify.py