Settings/Profiles: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
No edit summary
(Updated for v19)
Line 1: Line 1:
{{mininav|[[Settings]]}}
{{mininav| [[Settings]] }}
 
 
__TOC__
__TOC__
{{-}}<br />
<br />
{{#lst:Profiles|intro}}




== Profile settings ==
= General =
<gallery mode="packed" widths="700px" heights="394px">
File:Estuary_Profiles_General.jpg
</gallery>


=== General ===
[[File:Estuary_Profiles_General.jpg|500px]]
==== Show login screen on startup ====


== Show login screen on startup ==
{|
{|
|- valign="top"
|- valign="top"
| width=120px | {{nowrap|'''Settings level:'''}}  
| width=120px | {{nowrap|'''Settings level:'''}}  
| There's no settings-level defined for that section
| N/A
|- valign="top"
|- valign="top"
| '''Description:'''
| '''Description:'''
| Enables or disables the login screen  
| Enables or disables the login screen so a profile can be chosen at each startup.
|}
|}




==== Automatic Login on startup ====
== Automatic Login on startup ==
 
{|
{|
|- valign="top"
|- valign="top"
| width=120px | {{nowrap|'''Settings level:'''}}  
| width=120px | {{nowrap|'''Settings level:'''}}  
| There's no settings-level defined for that section
| N/A
|- valign="top"
|- valign="top"
| '''Description:'''
| '''Description:'''
Select the profile which should be used on startup or use the 'last used profile' from the previous session
If the previous setting is disabled, choose which profile {{kodi}} should automatically log into.<br>
Select from ''Master, Last used profile'' or select a particlar profile.
|}
|}




===Profiles===
= Profiles =
 
<gallery mode="packed" widths="700px" heights="394px">
[[File:Estuary_Profiles_Profiles.jpg|500px]]
File:Estuary_Profiles_Profiles.jpg
</gallery>


==== Profiles ====


== Profiles ==
{|
{|
|- valign="top"
|- valign="top"
| width=120px | {{nowrap|'''Settings level:'''}}  
| width=120px | {{nowrap|'''Settings level:'''}}  
| There's no settings-level defined for that section
| N/A
|- valign="top"
|- valign="top"
| '''Description:'''
| '''Description:'''
This section only shows which profiles exists and the option to add a profile, which is explained at: [[Profiles#Adding_a_profile|Adding profiles]]
Add or edit profiles.<br>
|- valign="top"
The ''Master'' profile is the default profile that is always created when {{kodi}} is installed.<br>
| '''See also'''
'''See: [[Profiles]]'''
| [[Profiles]]
|}
|}




==Known issues==
= Known Issues =
On some systems changing profiles may cause one or both of the following issues:


Using the "Show login screen on startup" is causing issues in loosing some of the strings at the skin. As a workaround you could automatically reload the skin after the specific profile was selected by using an [[Autoexec.py]] with the "ReloadSkin()" in built python function. Place that autoexec.py file at the [[Userdata]] folder and at every profile folder underneath the userdata folder.  
* Using the "''Show login screen on startup''" may cause skins to incorrectly load.
* Switching profiles may also cause skins to incorrectly load.


'''An example for Windows:'''
A skin Reload will fix the problem when it occurs. A couple of methods to achieve this are via a '''[[Keyboard_controls|Keyboard Control]]''' or an '''[[Autoexec Service]]'''


'''For the master profile:'''
%APPDATA%\kodi\userdata\autoexec.py


'''and for the profile folders:'''
; Keboard Control method
%APPDATA%\kodi\userdata\profiles\<profile_name>\autoexec.py
: Add the following code to your ''keyboard.xml'' file. ''(Do not duplicate existing tags)''
: '''See: [[Keyboard controls]]'''


<br />
<syntaxhighlight lang="xml">
'''An example for Linux based system (in this case Ubuntu):'''
<keymap>
  <global>
    <keyboard>
        <F5>ReloadSkin()</F5>
    </keyboard>
  </global>
</keymap>
</syntaxhighlight>


'''For the master profile:'''
~/.kodi/userdata/autoexec.py


'''and for the profile folders:'''
; Autoexec Service method
~/.kodi/userdata/profiles/<profile_name>/autoexec.py
: Create an Autoexec Service that will automatically reload the skin after a profile has been loaded.
: '''See: [[Autoexec Service]]'''


The contents of the file have to be:


<syntaxhighlight lang=python enclose="div">
import xbmc


xbmc.executebuiltin('ReloadSkin()')
= References =
</syntaxhighlight>
<references />
 
 


Depending on the hardware you are using that might get you an instant experience and you won't notice anything. On older and slower hardware it might take while until the skin is actively reloaded.


{{top}}
{{updated|19}}


{{updated|18}}
[[Category:Settings]]

Revision as of 09:14, 18 March 2021

Home icon grey.png   ▶ Settings ▶ Profiles



General


Show login screen on startup

Settings level: N/A
Description: Enables or disables the login screen so a profile can be chosen at each startup.


Automatic Login on startup

Settings level: N/A
Description: If the previous setting is disabled, choose which profile Kodi should automatically log into.

Select from Master, Last used profile or select a particlar profile.


Profiles


Profiles

Settings level: N/A
Description: Add or edit profiles.

The Master profile is the default profile that is always created when Kodi is installed.
See: Profiles


Known Issues

On some systems changing profiles may cause one or both of the following issues:

  • Using the "Show login screen on startup" may cause skins to incorrectly load.
  • Switching profiles may also cause skins to incorrectly load.

A skin Reload will fix the problem when it occurs. A couple of methods to achieve this are via a Keyboard Control or an Autoexec Service


Keboard Control method
Add the following code to your keyboard.xml file. (Do not duplicate existing tags)
See: Keyboard controls
<keymap>
  <global>
    <keyboard>
        <F5>ReloadSkin()</F5>
    </keyboard>
  </global>
</keymap>


Autoexec Service method
Create an Autoexec Service that will automatically reload the skin after a profile has been loaded.
See: Autoexec Service


References



Return to top