Possible to load Kodi profile using a command line argument?
#1
I have a Kodi setup with multiple profiles, and I'd like Kodi to startup in one based on a command line argument if possible. I know it can be hardcoded in the profiles.xml, but that requires hardcoding a single profile ID.

I want to be able to launch directly into my Kodi profile, and when my kids startup Kodi it goes directly to their profile. I've been doing this with the "-p" portable command line argument, but having some issues in the portable install that I don't have when launching Kodi normally.
Reply
#2
Maybe use an autoexec.py script?
So eg
Quote:import xbmc
xbmc.executebuiltin( "LoadProfile(profilename" )
I'm curious as to the issues with a portable launch - I've never even read of any here that I can recall.
Reply

Logout Mark Read Team Forum Stats Members Help
Possible to load Kodi profile using a command line argument?0