HOW-TO:Change data location for Android: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 11: Line 11:
'''''Example:''''' <code>xbmc.data=/storage/sdcard0/external_sdcard/kodi_data</code>
'''''Example:''''' <code>xbmc.data=/storage/sdcard0/external_sdcard/kodi_data</code>


{{note|You must use "xbmc" when noted above for the text and file name, even when using Kodi v14.}}





Revision as of 10:08, 3 March 2015

As of v14, Kodi supports a backdoor to specify the location of your settings folder, which includes the userdata folder and add-ons.


To do so, create a file name xbmc_env.properties in the root of your external storage (normally, "/sdcard"). Its content is simply:


xbmc.data=<path to the Kodi data folder you wish to use>

Example: xbmc.data=/storage/sdcard0/external_sdcard/kodi_data


Note: You must use "xbmc" when noted above for the text and file name, even when using Kodi v14.


Inside this, a directory ".kodi" will be created which contain the well-known xbmc structure ("addons", "userdata", ...).


Currently, the specified path must be an android file path and not a typical network path. i.e. no "smb://" or "nfs://". To use a network file path you must first mount the file share in Android, and then point to that mount path.