HOW-TO:Change data location for Android: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 6: | Line 6: | ||
<syntaxhighlight lang="text"> | <syntaxhighlight lang="text"> | ||
xbmc.data=<path to the | xbmc.data=<path to the Kodi data folder you wish to use> | ||
</syntaxhighlight> | </syntaxhighlight> | ||
'''''Example:''''' <code>xbmc.data=/storage/sdcard0/external_sdcard/ | '''''Example:''''' <code>xbmc.data=/storage/sdcard0/external_sdcard/kodi_data</code> | ||
Line 17: | Line 17: | ||
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. | 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. | ||
{{helix updated}} | |||
[[Category:Advanced topics]] | [[Category:Advanced topics]] |
Revision as of 10:07, 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
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.