Posts: 893
Joined: Jul 2011
Reputation:
16
I'm running out of space on my ATV2...I have a ton of large-iish zip files that seem to be just sitting in /addons/packages. Is it okay to delete those, or does XBMC use those to keep track of addons?
- Amazon FireTV Stick 4K running latest stable Kodi version
- Sony Bravia XBR-x900h Android TV running latest stable Kodi version
- Skin: Aeon Nox: SiLVO
Posts: 75
Joined: Jun 2011
Reputation:
0
I agree this is a real problem.
Posts: 31,445
Joined: Jan 2011
I'll poke the devs about this again. Might make a trak ticket if no one beats me too it (I guess it would be a feature request?).
From what I gathered, it's kind of a temp folder, and no one thought to have XBMC delete the old zips because they were so small. Then later they added Add-on rollback to take advantage of the zips that were already being saved (or rather, that were not being deleted).
Posts: 893
Joined: Jul 2011
Reputation:
16
Come to think of it, it might be a good idea to put something into the XBMC code so that if XBMC is found to be running on an ATV2, the amount of free space is ascertained and stated in the xbmc.log file when XBMC starts. Might be a quick way to troubleshoot some ATV2 crash complaints.
- Amazon FireTV Stick 4K running latest stable Kodi version
- Sony Bravia XBR-x900h Android TV running latest stable Kodi version
- Skin: Aeon Nox: SiLVO
Posts: 11,582
Joined: Feb 2008
Reputation:
84
davilla
Retired-Team-XBMC Developer
Posts: 11,582
when xbmc starts up, it checks and runs a preflight script
/private/var/stash/Applications/XBMC.frappliance/XBMCData/XBMCHome/tools/darwin/runtime/preflight
preflight does not exist for iOS, only OSX so you can stick anything you want to happen before xbmc comes up, just name it preflight.