Enhancement: Use pure memory cache for audio caching
authorMarcel van der Veldt <m.vanderveldt@outlook.com>
Thu, 6 Mar 2025 13:59:13 +0000 (14:59 +0100)
committerMarcel van der Veldt <m.vanderveldt@outlook.com>
Thu, 6 Mar 2025 13:59:13 +0000 (14:59 +0100)
commit1aaad138d74a17088268a963f1382296ff87b354
tree0c243b4047e5327ccad61c7fe93be0dd6f4a47c8
parentb5694d364029f0d11f2b7511f6d3b27bd493813d
Enhancement: Use pure memory cache for audio caching

- Only cache in memory and not with intermediate file to prevent weird issues
- Add config toggle to enable/disable audio caching
- Use intermediate NUT container when needed to enable seeking in e.g. ogg streams
music_assistant/constants.py
music_assistant/controllers/streams.py
music_assistant/helpers/audio.py
music_assistant/helpers/ffmpeg.py