- Source
Methods
(static) GetConfigTree() → {dynamic}
Read config tree from json config file and return
- Source
Returns:
- Type:
- dynamic
(static) RegistryReadAll(section) → {dynamic}
Return all data found inside a registry section
Parameters:
Name | Type | Description |
---|---|---|
section | string |
- Source
Returns:
- Type:
- dynamic
(static) findConfigTreeKey(key, tree) → {dynamic}
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() → {object}
Return an array of all the registry section keys
- Source
Returns:
- Type:
- object
(static) getSavedUsers() → {object}
Returns an array of saved users from the registry that belong to the active server
- Source
Returns:
- Type:
- object
(static) get_setting(key, defaultValueopt) → {dynamic}
"Jellyfin" registry accessors for the default global settings
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
key | dynamic | |||
defaultValue | dynamic | <optional> | invalid |
- Source
Returns:
- Type:
- dynamic
(static) get_user_setting(key) → {dynamic}
User registry accessors for the currently active user
Parameters:
Name | Type | Description |
---|---|---|
key | string |
- Source
Returns:
- Type:
- dynamic
(static) registry_delete(key, sectionopt) → {void}
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
key | dynamic | |||
section | dynamic | <optional> | invalid |
- Source
Returns:
- Type:
- void
(static) registry_read(key, sectionopt) → {dynamic}
Generic registry accessors
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
key | dynamic | |||
section | dynamic | <optional> | invalid |
- Source
Returns:
- Type:
- dynamic
(static) registry_write(key, value, sectionopt) → {void}
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
key | dynamic | |||
value | dynamic | |||
section | dynamic | <optional> | invalid |
- Source
Returns:
- Type:
- void
(static) set_setting(key, value) → {void}
Parameters:
Name | Type | Description |
---|---|---|
key | dynamic | |
value | dynamic |
- Source
Returns:
- Type:
- void
(static) set_user_setting(key, value) → {void}
Parameters:
Name | Type | Description |
---|---|---|
key | string | |
value | dynamic |
- Source
Returns:
- Type:
- void
(static) unset_setting(key) → {void}
Parameters:
Name | Type | Description |
---|---|---|
key | dynamic |
- Source
Returns:
- Type:
- void
(static) unset_user_setting(key) → {void}
Parameters:
Name | Type | Description |
---|---|---|
key | string |
- Source
Returns:
- Type:
- void