How to specify the location of MrMC data

From MrMC Wiki
Jump to: navigation, search

MrMC supports a backdoor to specify the location of your MrMC data.

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

xbmc.data=<path to the xbmc data root>

e.g. xbmc.data=/storage/sdcard0/external_sdcard/xbmc_data

Inside this, a directory ".mrmc" will be created which contain the user folder structure ("addons", "userdata", ...). Currently, the specified path must be an android one, i.e. no "smb://" or "nfs://", but you can specify any directory mounted on the android FS, including samba or NFS ones.

Note that the standard Kodi xbmc_env.properties is also supported. If mrmc_env.properties is not found, MrMC will look for xbmc_env.properties as a fallback.

Keypair list

Key Value
xbmc.data Specify an alternate path for MrMC data (eg "/storage/sdcard0/external_sdcard/xbmc_data"). Path must exist.
mrmc.obb Alternate location for MrMC OBB (Development)
mrmc.autostart Autostart MrMC after boot (yes/no)
xbmc.jsonPort Alternate JSON-RPC port
xbmc.jsonUser JSON-RPC user, if applicable
xbmc.jsonPwd JSON-RPC password, if applicable