Get AudioStation info
Returns
Get Album List
Parameters
Name | Type | Description |
---|---|---|
limit | number | Maximum number of results to return, defaults to 1000 |
offset | number | Offset of the first result to return, defaults to 0 |
library | string | Specify library type, can be 'all' or 'personal', defaults to 'all' |
additional | string[] | Array of additional information to retrieve, defaults to ['avg_rating'] |
version | number | API version |
filter | string | Filter condition |
artist | string | Filter by artist name |
genre | string | Filter by genre |
sort_by | string | Field to sort by, can be 'time', 'random', 'year', 'name', 'display_artist', or 'avg_rating', defaults to 'name' |
sort_direction | string | Sort direction, can be 'ASC' or 'DESC', defaults to 'ASC' |
Returns
Get artist list
Parameters
Name | Type | Description |
---|---|---|
limit | number | limit |
offset | number | offset |
library | "all" | "personal" | library type |
artist | string | artist name |
additional | string[] | additional info |
filter | string | filter |
genre | string | genre |
sort_by | "name" | "year" | sort by |
sort_direction | "ASC" | "DESC" | sort direction |
Returns
get playlist
Parameters
Name | Type | Description |
---|---|---|
limit | number | limit |
offset | number | offset |
library | "all" | "personal" | library type |
Returns
create a new playlist
Parameters
Name | Type | Description |
---|---|---|
name | string | playlist name |
library | "all" | "personal" | library type |
Returns
delete a playlist
Parameters`
Name | Type | Description |
---|---|---|
id | string | playlist id |
Returns
get song list
Parameters
Name | Type | Description |
---|---|---|
limit | number | The number of songs to return. Defaults to 100. |
offset | number | The number of songs to skip. Defaults to 0. |
additional | Array<"song_tag" | "song_audio" |
rating_filter | number | The minimum rating of songs to return. Defaults to 0. |
album_artist | string | The album artist to filter by. Defaults to an empty string. |
album | string | The album to filter by. Defaults to an empty string. |
artist | string | The artist to filter by. Defaults to an empty string. |
genre | string | The genre to filter by. Defaults to an empty string. |
sort_by | "title" | "artist" | "random" | "name" | The field to sort by. Defaults to "title". |
sort_direction | "ASC" | "DESC" | The direction to sort by. Defaults to "ASC". |
Returns