-
Notifications
You must be signed in to change notification settings - Fork 51
Audio Station API
The AudioStation API is an AuthenticatedAPI
, that means the user needs to be authenticated before using this API.
Fortunately, the AuthenticatedAPI
is smart enough to automatically log the user.
The syno
object uses the as
(or audioStation
alias) property to interact with the AudioStation API.
Provide Audio Station information.
Method Name | Description | Required params |
---|---|---|
getAudioStationInfo(callback) |
Provide Audio Station information | - |
Provide Audio Station Albums methods.
Method Name | Description | Required params |
---|---|---|
listAlbums(params, callback) |
List albums | - |
Provide Audio Station Composers methods.
Method Name | Description | Required params |
---|---|---|
listComposers(params, callback) |
List composers | - |
Provide Audio Station songs Genres methods.
Method Name | Description | Required params |
---|---|---|
listGenres(params, callback) |
List genres | - |
Provide Audio Station songs Artist methods.
Method Name | Description | Required params |
---|---|---|
listArtists(params, callback) |
List artists | - |
Provide Audio Station Folders methods.
Method Name | Description | Required params |
---|---|---|
listFolders(params, callback) |
List folders | - |
getFolderInfo(params, callback) |
Get information of a folder | id |
Provide Audio Station songs methods.
Method Name | Description | Required params |
---|---|---|
listSongs(params, callback) |
List songs | - |
getSongInfo(params, callback) |
Get information of a song | id |
searchSong(params, callback) |
Search a song | - |
Provide Audio Station radios methods.
Method Name | Description | Required params |
---|---|---|
listRadios(params, callback) |
List radios | - |
Method Name | Description | Required params |
---|---|---|
addRadio(params, callback) |
Add a radio | ? |
updateRadio(params, callback) |
Update a radio | ? |
Provide Audio Station playlists methods.
Method Name | Description | Required params |
---|---|---|
listPlaylists(params, callback) |
List playlists | - |
getPlaylistInfo(params, callback) |
Get information of a playlist | id |
Method Name | Description | Required params |
---|---|---|
createPlaylist(params, callback) |
Create a playlist | ? |
deletePlaylist(params, callback) |
Delete a playlist | ? |
renamePlaylist(params, callback) |
Rename a playlist | ? |
copyToLibraryPlaylist(params, callback) |
? | ? |
updateSongsPlaylist(params, callback) |
? | ? |
createSmartPlaylist(params, callback) |
? | ? |
updateSmartPlaylist(params, callback) |
? | ? |
Provide Audio Station remote players methods.
Method Name | Description | Required params |
---|---|---|
listRemotePlayers(params, callback) |
List remote players | - |
Method Name | Description | Required params |
---|---|---|
getRemotePlayerStatus(params, callback) |
Get a remote player status | ? |
getRemotePlayerPlaylist(params, callback) |
? | ? |
updateRemotePlayerPlaylist(params, callback) |
? | ? |
controlRemotePlayer(params, callback) |
? | ? |
testRemotePlayerPassword(params, callback) |
? | ? |
setRemotePlayerPassword(params, callback) |
? | ? |
Provide Audio Station proxy methods.
Method Name | Description | Required params |
---|---|---|
getStreamIdProxy(params, callback) |
? | ? |
getStreamProxy(params, callback) |
? | ? |
getSongInfoProxy(params, callback) |
? | ? |
deleteSongInfoProxy(params, callback) |
? | ? |
Provide Audio Station lyrics methods.
Method Name | Description | Required params |
---|---|---|
getLyrics(params, callback) |
? | ? |
setLyrics(params, callback) |
? | ? |
Provide Audio Station lyrics search methods.
Method Name | Description | Required params |
---|---|---|
searchLyrics(params, callback) |
? | ? |
Provide Audio Station media servers methods.
Method Name | Description | Required params |
---|---|---|
listMediaServers(params, callback) |
List media servers | - |
Provide Audio Station covers methods.
Method Name | Description | Required params |
---|---|---|
getSongCover(params, callback) |
? | ? |
getFolderCover(params, callback) |
? | ? |
getCover(params, callback) |
? | ? |
Provide Audio Station streams methods.
Method Name | Description | Required params |
---|---|---|
stream(params, callback) |
? | ? |
transcode(params, callback) |
? | ? |