I have specified a size limit of 32gb for the offline rolling cache, but sometimes this is too much and some times too little. It would be nice if this could just scale up and down based on how much free space is left on the phone, deleting files when needed to free up space.
Problem solved:
Difficulty in configuring a proper rolling cache size.
Brought benefits:
This would make itthe rolling cache require less configuration, making it easier to enable. Also would allow more songs to be cached when there is a lot of free space rather than setting a small limit.
If you do not have enough free space for a certain operation outside of Symfonium then whatever the values at some point you’ll have to clean up something to make space. Fixed predictable space allows you to anticipate things.
I was hoping that my phone would be able to define too much or too little based on free space. It knows that better than I do.
This feature would be useful for me for symfonium to automatically clean up space when needed so that I don’t need to worry about cleaning up space myself.
And how is Symfonium supposed to know how much you’ll need and when ? Even if you could say I need 500mb free always. It would still need to have the app running always in background and constantly checking free space to try to remove stuff. That would not be efficient and kill battery quite fast. So you would still not be able to download a 501 mb file anyway.
There’s no magic, relative growth is possible but reduction based on guessing the future is not.
I don’t do much android app development so forgive me if I’m misunderstanding, but I believe that that’s more or less what the cache dir (Context | API reference | Android Developers ) provides. This seems to make the operating system free space automatically, although I don’t know how easy it would be to incorporate.
That appears to be actual cache space, such as images downloaded to display a web page. In that insgance those images are no longer needed when not viewing that web page any longer and can be deleted.
The music cache in symfoniums context is expected to be there when the user wants to play music instead if being randomly deleted. Its closer to storage. In fact, you can delete the cache for the symfibium app from the android settings (application info) and it does not affect the music cache. They’re not the same thing.
Just set the rolling cache for symfonium to a value that you know you have space for or delete some other files on your device to make more room.
Is there a huge difference between these types of cache? The rolling cache can also be deleted randomly when the max storage size is reached.
The only size I can be sure that I’ll have space for is 0GB, as I can sometimes use a lot more space for other things on my phone, and sometimes have a lot more room for the rolling offline cache.
What are you doing with your device that your storage availability varies so much and you cannot devote even a single GB to music storage? You may need to adjust your priorities.