Managing Storage on the Android Device

Managing Storage on the Android Device

Media Files,Layouts and other metadata is downloaded from the CMS onto the Player to allow local playback in the most efficient way and to allow for offline usage. Players will automatically manage the files stored on the local library and automatically remove files that are no longer needed.

Library Storage Location

Xibo for Android by default, will store files on the internal device storage Library Location: /data/data/

Xibo for Android has the ability to use External Storage (if available) on the device. This could be an SD card or some other removable device. Using the Player Settings, an option named Storage Location allows you to choose the External Storage option, selecting the location from the list.

Rules for keeping or deleting a file

The CMS informs the Player 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 local library.

Once a file is removed from this list it will remain in the local library for 30 days after which it will be automatically deleted.

You can change the “N” parameter in the CMS Settings page under the Administration section of the main menu. From the General tab enter a time in seconds in the Send files in advance? field.

The default value is set at 172800 which is 2 days. This setting 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.