How to specify the location of MrMC data: Difference between revisions

From MrMC Wiki
Jump to navigation Jump to search
(Created page with "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"...")
 
No edit summary
 
(One intermediate revision by one other user not shown)
Line 7: Line 7:
<span style="background:#a2a9b1">e.g. xbmc.data=/storage/sdcard0/external_sdcard/xbmc_data</span>
<span style="background:#a2a9b1">e.g. xbmc.data=/storage/sdcard0/external_sdcard/xbmc_data</span>


Inside this, a directory ".mrmc" will be created which contain the user floder structure ("addons", "userdata", ...).
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.
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.
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 =
{| class="wikitable"
|-
! 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
|}

Latest revision as of 03:58, 12 October 2018

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