- Source:
Methods
-
<static> GetConfigTree()
-
Read config tree from json config file and return
- Source:
Returns:
- Type
- dynamic
-
<static> RegistryReadAll(section)
-
Return all data found inside a registry section
Parameters:
Name Type Description section
string - Source:
Returns:
- Type
- dynamic
-
<static> findConfigTreeKey(key, tree)
-
Recursivly search the config tree for entry with settingname equal to key
Parameters:
Name Type Description key
string tree
dynamic - Source:
Returns:
- Type
- dynamic
-
<static> getRegistrySections()
-
Return an array of all the registry section keys
- Source:
Returns:
- Type
- object
-
<static> getSavedUsers()
-
Returns an array of saved users from the registry
that belong to the active server- Source:
Returns:
- Type
- object
-
<static> get_setting(key [, defaultValue])
-
"Jellyfin" registry accessors for the default global settings
Parameters:
Name Type Argument Default Description key
dynamic defaultValue
dynamic <optional>
invalid - Source:
Returns:
- Type
- dynamic
-
<static> get_user_setting(key)
-
User registry accessors for the currently active user
Parameters:
Name Type Description key
string - Source:
Returns:
- Type
- dynamic
-
<static> registry_delete(key [, section])
-
Parameters:
Name Type Argument Default Description key
dynamic section
dynamic <optional>
invalid - Source:
Returns:
- Type
- void
-
<static> registry_read(key [, section])
-
Generic registry accessors
Parameters:
Name Type Argument Default Description key
dynamic section
dynamic <optional>
invalid - Source:
Returns:
- Type
- dynamic
-
<static> registry_write(key, value [, section])
-
Parameters:
Name Type Argument Default Description key
dynamic value
dynamic section
dynamic <optional>
invalid - Source:
Returns:
- Type
- void
-
<static> set_setting(key, value)
-
Parameters:
Name Type Description key
dynamic value
dynamic - Source:
Returns:
- Type
- void
-
<static> set_user_setting(key, value)
-
Parameters:
Name Type Description key
string value
dynamic - Source:
Returns:
- Type
- void
-
<static> unset_setting(key)
-
Parameters:
Name Type Description key
dynamic - Source:
Returns:
- Type
- void
-
<static> unset_user_setting(key)
-
Parameters:
Name Type Description key
string - Source:
Returns:
- Type
- void