Finalize cache implementation
authorMarcel van der Veldt <m.vanderveldt@outlook.com>
Wed, 26 Mar 2025 23:31:29 +0000 (00:31 +0100)
committerMarcel van der Veldt <m.vanderveldt@outlook.com>
Wed, 26 Mar 2025 23:31:29 +0000 (00:31 +0100)
commit9f0011071a4848fef12c55191aee18ec95acafbc
treec0cbc9b7ff9ffd602673586aab64ad8d2745e1fa
parent412c8051ef71953845576b582e0ea898edcfb448
Finalize cache implementation

latest tweaks to caching of audio:
- ensure local file and not tmpfs
- check disk percentage free
- prevent file deletion when still in use
- some more failsafes
music_assistant/controllers/streams.py
music_assistant/helpers/audio.py
music_assistant/helpers/process.py
music_assistant/helpers/util.py