Kodi Community Forum

Full Version: How to Load Profile from Custom Menu?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I recently setup a 2nd profile on Kodi & I'm trying to setup a custom menu to be able to load profile after clicking it. I came across the list of kodi functions that can be found on wiki, the function that I am trying to use is:

LoadProfile(profilename,[prompt])

Quote:Load the specified profile. If prompt is not specified, and a password would be required for the requested profile, this command will silently fail. If promp' is specified and a password is required, a password dialog will be shown.

When I use the following Change Action "LoadProfile(profilename,[prompt])" it does absolutely nothing, I'm unsure how to specify the prompt. Can someone please help me out, thanks in advance.
Options in [] are meant to be optional, so either use
LoadProfile(profilename,prompt) or
LoadProfile(profilename)