-
Notifications
You must be signed in to change notification settings - Fork 187
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Limit cache size #105
Comments
This is definitely something I'd like to have, but requires quite a bit of work. This requires some bookkeeping to keep track of what files are in the cache, their size, along with an eviction algorithm. These could be used as inspiration, although librespot doesn't need something as sophisticated : |
For the moment, users that face issues with it, they could make a simple cron-job that checks the atime of files tp clean-up. |
@mfonville how is this possible? If I run |
@juriansluiman Deleting files while librespot is running should work. |
@plietar sorry, you get forget my comment. I was having another issue with librespot so it stopped working, but just tried again and it does continue to play. My bad! |
I've modified librespot to disable the audio file-cache. See pull request #181. |
For people running librespot on hardware with limited resources, it would be nice to have an option to limit the cache size.
The text was updated successfully, but these errors were encountered: