Media Files, Layouts and other meta data is downloaded from the CMS onto each player to allow local playback in the most efficient way and to allow for offline usage. Xibo for Android will automatically manage the files stored on the local library and automatically remove files that are no longer needed.
Files are stored according to 2 settings:
- Use Public Storage?
- Storage Options
If use public storage is unchecked then the files will be stored on the internal device storage, if checked they will be stored on the internal device public storage (if available). If checked it is also recommended to explicitly specify a storage location using the storage options.
In all cases the files will be in /data/data/uk.org.xibo.client/.
Rules for keeping or deleting a file
The CMS informs Xibo for Android exactly which files it needs for the next N days of playback (where N days is defined in the CMS settings). All of the files in this list will be kept in the library. Once a file is removed from this list it will remain in the library for 30 days and then be deleted automatically.
You can change this "N" parameter in Settings -> General -> Send files in advance?. The setting is expressed in seconds and should be adjusted carefully as it directly affects the size of the local player library and the amount of work the CMS has to do with each collection interval. We recommend keeping the default setting unless there is a specific reason to change it.
Running out of storage
Since Xibo for Android 1.6/1.7 R38 the application will aggressively delete files that are no longer contained in the list of required files if the total free storage on the device is below 10%. The Player will also decline to download new files if there is not enough storage on the device to fully store the downloaded file.
The percentage of used disk space is based on the storage for the Library Location.