Subsonic
Subsonic(url, user, password, client, use_https=True, use_token=True, request_method=RequestMethod.GET)
Object that holds all the other helper objects to interact with the OpenSubsonic REST API.
Inside this object there are helper object that holds all the methods used to access the REST API. The methods are split following the categories listed in the OpenSubsonic REST API Spec.
Attributes:
Name | Type | Description |
---|---|---|
api |
Helper object used to directly access the REST API of the given server. |
|
system |
Helper object used to access all system related endpoints. |
|
browsing |
Helper object used to access all system related endpoints. |
|
lists |
Helper object used to access all lists related endpoints. |
|
searching |
Helper object used to access all searching related endpoints. |
|
playlists |
Helper object used to access playlists related endpoints. |
|
media_retrieval |
Helper object used to access all media retrieval related endpoints. |
|
media_annotation |
Helper object used to access all media annotation related endpoints. |
|
sharing |
Helper object used to access all sharing related endpoints. |
|
podcast |
Helper object used to access all podcast related endpoints. |
|
jukebox |
Helper object used to access all jukebox related endpoints. |
|
internet_radio |
Helper object used to access all internet radio related endpoints. |
|
chat |
Helper object used to access all chat related endpoints. |
|
user_management |
Helper object used to access all user management related endpoints. |
|
bookmarks |
Helper object used to access all bookmarks related endpoints. |
|
media_library_scanning |
Helper object used to access all media library scanning related endpoints. |
Parameters:
Name | Type | Description | Default |
---|---|---|---|
url |
str
|
The URL of the Subsonic server to connect to. |
required |
user |
str
|
The name of the user to authenticate. |
required |
password |
str
|
The password of the user to authenticate. |
required |
client |
str
|
A unique name of the client to report to the server. |
required |
use_https |
bool
|
If the requests should be use of HTTPS. |
True
|
use_token |
bool
|
If the authentication should be made using a salted token or in plain text. |
True
|
request_method |
RequestMethod
|
If the requests should be made using a GET verb or a POST verb. |
GET
|