Closed Music562 closed 2 years ago
I don't know why it happens - It never happened to me. I guess the system deletes the cache when the device storage free space is going to finish: what's your storage free space?
Well, I think the solution here is using filesDir
instead of cacheDir
I don't know why it happens - It never happened to me. I guess the system deletes the cache when the device storage free space is going to finish: what's your storage free space?
It could be. I have 2 GB with free storage left
How do I do that?
It could be. I have 2 GB with free storage left
Well, this is the expected behavior then. I mean, you don't want your device to run out of space!
How do I do that?
You don't have to do anything. This is a change to the codebase.
However, I'm not moving the cache to another directory to prevent it being cleared by the system. You should free your device storage instead - i.e. removing photos, videos or other apps data you don't need anymore.
@jerryop Since you +1 this issue, would you confirm your device has a little free space amount left?
No bro I have lot of space most probably 40gb+ space but the most phones have a new feature smart ram management that automatically clears cache.
The official Android documentation states that: "When the device is low on internal storage space, Android may delete these cache files to recover space."
The "smart ram management feature that most phones have" isn't cited anywhere in the documentation, so it certainly is bloatware. Uninstall or disable it. If you can't, I won't adjust my app to satisfy a shitty vendor decision
I am using samsung s22 then maybe this feature in oneUi os
I tried freeing up space and it seemed to help. The music stayed a bit longer than usual.
But now, 5 days later, all of my playlists and music is gone
I've had other music apps but this issue has never occurred before, where playlists and cache gets deleted on its own
all of my playlists and music is gone
You deleted the app's data
I only deleted pictures, I didn't delete any apps nor any app data.
It even worked a few days after I had cleared some space. So it has nothing with deleting app data to do. It deleted it all on its own.
I think you have cleared the app's chach. Maybe it is done automaticly while cleaning your device.
Thanks to everyone for your help and quick answers!
Is there any way ;To stop that offline feature. Actually I don't need it but still it stores the songs in offline playlist.
Is there any way ;To stop that offline feature. Actually I don't need it but still it stores the songs in offline playlist.
You can delete the app's cache in the app infos.
Is there any way ;To stop that offline feature. Actually I don't need it but still it stores the songs in offline playlist.
You can delete the app's cache in the app infos.
Is it not quite irritating to go in app info and clear cache.
You can also change the cache limit in ViMusic > Settings > Cache, but it will reduce the performance for often heard songs.
Is there any way ;To stop that offline feature. Actually I don't need it but still it stores the songs in offline playlist.
Set the cache limit to lowest. is 32mb
I have the same issue eventhough I have almost 18 gigs free. This makes the cache feature completely useless and is the reason this app used a third of my mobile data this month.
I have the same issue eventhough I have almost 18 gigs free. This makes the cache feature completely useless and is the reason this app used a third of my mobile data this month.
I fixed this issue by changing my custom rom
An issue with an app shouldn't have to be fixed by installing a different rom. An option to use local storage instead of the cache would be a good workaround if there's no other way to fix this.
I did had exact issue with a rom and anyways it had many bugs. Or maybe the extra features the rom provided might clear the cache frequently. Had to switch it anyways
me and friends that i suggested this app to constantly have this issue and have yet fo fix it. i dont find the "answer" to be concise; i cant find anything online about how to get android to not automatically clear the cache without the devs answer which was "removing the bloatware," which, even if i knew how to do, i still use many features on my phone that some will consider "bloatware," like various apps not all will find useful. i just want to listen to music offline conveniently, but apparently i cant without mindwiping my phone qwq
and yeah, i have automatic cleaning off for vimusic (as an "excluded app") but still nothing! if i leave the app idle for one day all my songs go away
I am using samsung s22 then maybe this feature in oneUi os
I am using samsung s22 then maybe this feature in oneUi os
Go to device care and in options in upper right corner there is storage booster and in the you can turn off auto delete unnecessary data which clears song cache of ViMusic app
It's also in stock android 14.
Steps to reproduce the bug
Expected behavior
I want to be able to access the music I download offline whenever I want to, when I'm offline, without cache getting deleted without my permission.
Actual behavior
The songs' cache keeps getting deleted on its own so I can't listen to songs whenever I want to, when I'm offline.
I have downloaded cache several times, but it keeps deleting on its own. For example, I download a few songs and listen to them on my way to work. Then I close the app when I don't use it anymore. When I open the app again later, error occurs and I see that the songs I listened to earlier, don't play offline anymore.
I have also tried to change the cache limit in the settings to "unlimited", but it keeps deleting my songs anyway.
Screenshots/Screen recordings
Logs
No response
ViMusic version
0.4.3
Android version
Android 10
Additional information
No response