System
System(api, subsonic)
Class that contains all the methods needed to interact with the system endpoints in the Subsonic API.
Source code in .venv/lib/python3.11/site-packages/knuckles/_system.py
check_open_subsonic_extension(extension_name, extension_version)
Check if a OpenSubonic REST API extension is available on the connected server.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
extension_name |
str
|
The name of the extension to check if its available. |
required |
extension_version |
int
|
The version of the extension to check if its available. |
required |
Returns:
Type | Description |
---|---|
bool
|
If the given extension at the given version is available on the connected server or not. |
Source code in .venv/lib/python3.11/site-packages/knuckles/_system.py
get_license()
Get the current status of the license of the server.
Returns:
Type | Description |
---|---|
License
|
An object that contains all the info about the status of the license of the server. |
Source code in .venv/lib/python3.11/site-packages/knuckles/_system.py
get_open_subsonic_extensions()
Get all the available OpenSubsonic REST API extensions for the connected server.
Returns:
Type | Description |
---|---|
list[OpenSubsonicExtension]
|
A list that contains all the info about all the available extensions in the connected server. |
Source code in .venv/lib/python3.11/site-packages/knuckles/_system.py
ping()
Make a ping to the server.
Returns:
Type | Description |
---|---|
SubsonicResponse
|
An object that holds all the info returned by the server. |