6 ms·
It's the cache, I pin-pointed the main problem correctly without ADB access, any closer details and just google. > // Unpack into no_backup storage rather than
by blablabla123 4mo ago
It's the cache, I pin-pointed the main problem correctly without ADB access, any closer details and just google.
> // Unpack into no_backup storage rather than the cache dir. Android may
> // delete files from getCacheDir() at any time to reclaim space, which
Looking further into the issue disk space is a huge problem with Kodi discussed plenty of times. In fact even the Wiki dedicates 2 pages to it:
https://kodi.wiki/view/Archive:Reduce_disk_space_usage https://kodi.wiki/view/Archive:Reduce_disk_space_usage
https://kodi.wiki/view/Texture_Cache_Maintenance_utility https://kodi.wiki/view/Texture_Cache_Maintenance_utility
I realize from your perspective this may seem still a very convincing example in the sense of it works.
A non-programmatic solution might have been possible though:
> It's likely your thumbnail cache. That's typically the biggest piece stored locally (you also have the database). You can clear the cache (short term fix) or move it to another drive (long term fix).
> Also recommend not downloading actor thumbnails. Lot of extra images.
https://www.reddit.com/r/ShieldAndroidTV/comments/1f7xfwn/kodi_is_eating_all_my_storage_any_suggestions/ https://www.reddit.com/r/ShieldAndroidTV/comments/1f7xfwn/ko...
I also recommend: https://en.wikipedia.org/wiki/Data_dredging https://en.wikipedia.org/wiki/Data_dredging
- AussieWog93 4mo agoIt's not (strictly) a disk space issue. It's Android aggressively trimming cache files that Kodi assumes are never trimmed. There's a single variable that keeps track of whether or not the cache has been "written", but Android only trims some of the cache files.
- AussieWog93 4mo agoAlthough if it makes you feel better it turns out this issue was a dupe. Someone else's Claude probably fixed it before mine did, haha.
- blablabla123 4mo agoThanks, I was interested at this point ;) Yeah I don't know, the other PR is from April. Not saying AI cannot be useful. On the other hand this is a "well studied" problem. Last year I worked on a project where I mostly stopped using draft PRs because the team lead (or his AI) was stealing my code all the time :D