public interface Connection
| Modifier and Type | Method and Description |
|---|---|
SubsonicResponse |
createPlaylist(java.util.ArrayList<java.lang.String> songsList,
java.lang.String name) |
SubsonicResponse |
deletePlaylist(java.lang.String playlistId) |
java.io.InputStream |
download(java.lang.String uniqueId) |
GetAlbumsResponse |
getAlbumsList(GetAlbumsType type) |
GetAlbumsResponse |
getAlbumsList(GetAlbumsType type,
int size) |
GetAlbumsResponse |
getAlbumsList(GetAlbumsType type,
int size,
int offset) |
java.awt.image.BufferedImage |
getCoverArt(java.lang.String coverId) |
java.awt.image.BufferedImage |
getCoverArt(java.lang.String coverArt,
int size) |
GetIndexesResponse |
getIndexes() |
GetIndexesResponse |
getIndexes(long modifiedSince) |
GetIndexesResponse |
getIndexes(java.lang.String musicFolderId) |
GetLicenseResponse |
getLicense() |
GetMusicDirectoryResponse |
getMusicDirectory(java.lang.String uniqueFolderId) |
GetMusicFoldersResponse |
getMusicFolders() |
GetPlaylistResponse |
getPlaylist(java.lang.String playlistId) |
GetPlaylistsResponse |
getPlaylists() |
GetPodcastResponse |
getPodcastEpisodes(java.lang.String podcastId) |
GetPodcastsResponse |
getPodcasts() |
GetRandomSongsResponse |
getRandomSongs() |
GetRandomSongsResponse |
getRandomSongs(java.lang.String folderId) |
GetRandomSongsResponse |
getRandomSongs(java.lang.String folderId,
int size) |
java.lang.String |
getStreamURL(java.lang.String uniqueId) |
java.lang.String |
getStreamURL(java.lang.String uniqueId,
int maxBitRate) |
boolean |
ping() |
SearchResponse |
search(java.lang.String query) |
SearchResponse |
search(java.lang.String query,
int count) |
SearchResponse |
search(java.lang.String query,
int count,
int offset) |
SubsonicResponse |
setRating(AlbumRating rating) |
java.io.InputStream |
stream(java.lang.String uniqueId) |
java.io.InputStream |
stream(java.lang.String uniqueId,
int maxBitRate) |
boolean ping()
GetLicenseResponse getLicense() throws com.google.gson.JsonSyntaxException, java.io.IOException, SubsonicException, InvalidResponseException, javax.xml.ws.http.HTTPException
com.google.gson.JsonSyntaxExceptionjava.io.IOExceptionSubsonicExceptionInvalidResponseExceptionjavax.xml.ws.http.HTTPExceptionGetMusicFoldersResponse getMusicFolders() throws com.google.gson.JsonSyntaxException, java.io.IOException, SubsonicException, InvalidResponseException, javax.xml.ws.http.HTTPException
com.google.gson.JsonSyntaxExceptionjava.io.IOExceptionSubsonicExceptionInvalidResponseExceptionjavax.xml.ws.http.HTTPExceptionGetIndexesResponse getIndexes() throws com.google.gson.JsonSyntaxException, java.io.IOException, SubsonicException, InvalidResponseException, javax.xml.ws.http.HTTPException
com.google.gson.JsonSyntaxExceptionjava.io.IOExceptionSubsonicExceptionInvalidResponseExceptionjavax.xml.ws.http.HTTPExceptionGetIndexesResponse getIndexes(java.lang.String musicFolderId) throws com.google.gson.JsonSyntaxException, java.io.IOException, SubsonicException, InvalidResponseException, javax.xml.ws.http.HTTPException
musicFolderId - com.google.gson.JsonSyntaxExceptionjava.io.IOExceptionSubsonicExceptionInvalidResponseExceptionjavax.xml.ws.http.HTTPExceptionGetIndexesResponse getIndexes(long modifiedSince) throws com.google.gson.JsonSyntaxException, java.io.IOException, SubsonicException, InvalidResponseException, javax.xml.ws.http.HTTPException
modifiedSince - com.google.gson.JsonSyntaxExceptionjava.io.IOExceptionSubsonicExceptionInvalidResponseExceptionjavax.xml.ws.http.HTTPExceptionGetMusicDirectoryResponse getMusicDirectory(java.lang.String uniqueFolderId) throws com.google.gson.JsonSyntaxException, java.io.IOException, SubsonicException, InvalidResponseException, javax.xml.ws.http.HTTPException
uniqueFolderId - com.google.gson.JsonSyntaxExceptionjava.io.IOExceptionSubsonicExceptionInvalidResponseExceptionjavax.xml.ws.http.HTTPExceptionSearchResponse search(java.lang.String query) throws com.google.gson.JsonSyntaxException, java.io.IOException, SubsonicException, InvalidResponseException, CompatibilityException, javax.xml.ws.http.HTTPException
query - com.google.gson.JsonSyntaxExceptionjava.io.IOExceptionSubsonicExceptionInvalidResponseExceptionCompatibilityExceptionjavax.xml.ws.http.HTTPExceptionSearchResponse search(java.lang.String query, int count) throws com.google.gson.JsonSyntaxException, java.io.IOException, SubsonicException, InvalidResponseException, CompatibilityException, javax.xml.ws.http.HTTPException
query - count - com.google.gson.JsonSyntaxExceptionjava.io.IOExceptionSubsonicExceptionInvalidResponseExceptionCompatibilityExceptionjavax.xml.ws.http.HTTPExceptionSearchResponse search(java.lang.String query, int count, int offset) throws com.google.gson.JsonSyntaxException, java.io.IOException, SubsonicException, InvalidResponseException, CompatibilityException, javax.xml.ws.http.HTTPException
query - count - offset - com.google.gson.JsonSyntaxExceptionjava.io.IOExceptionSubsonicExceptionInvalidResponseExceptionCompatibilityExceptionjavax.xml.ws.http.HTTPExceptionGetPlaylistsResponse getPlaylists() throws com.google.gson.JsonSyntaxException, java.io.IOException, SubsonicException, InvalidResponseException, javax.xml.ws.http.HTTPException
com.google.gson.JsonSyntaxExceptionjava.io.IOExceptionSubsonicExceptionInvalidResponseExceptionjavax.xml.ws.http.HTTPExceptionGetPlaylistResponse getPlaylist(java.lang.String playlistId) throws com.google.gson.JsonSyntaxException, java.io.IOException, SubsonicException, InvalidResponseException, javax.xml.ws.http.HTTPException
playlistId - com.google.gson.JsonSyntaxExceptionjava.io.IOExceptionSubsonicExceptionInvalidResponseExceptionjavax.xml.ws.http.HTTPExceptionSubsonicResponse createPlaylist(java.util.ArrayList<java.lang.String> songsList, java.lang.String name) throws com.google.gson.JsonSyntaxException, java.io.IOException, SubsonicException, InvalidResponseException, CompatibilityException, javax.xml.ws.http.HTTPException
songsList - name - com.google.gson.JsonSyntaxExceptionjava.io.IOExceptionSubsonicExceptionInvalidResponseExceptionCompatibilityExceptionjavax.xml.ws.http.HTTPExceptionSubsonicResponse deletePlaylist(java.lang.String playlistId) throws com.google.gson.JsonSyntaxException, java.io.IOException, SubsonicException, InvalidResponseException, CompatibilityException, javax.xml.ws.http.HTTPException
playlistId - com.google.gson.JsonSyntaxExceptionjava.io.IOExceptionSubsonicExceptionInvalidResponseExceptionCompatibilityExceptionjavax.xml.ws.http.HTTPExceptionGetAlbumsResponse getAlbumsList(GetAlbumsType type) throws com.google.gson.JsonSyntaxException, java.io.IOException, SubsonicException, InvalidResponseException, CompatibilityException, javax.xml.ws.http.HTTPException
type - com.google.gson.JsonSyntaxExceptionjava.io.IOExceptionSubsonicExceptionInvalidResponseExceptionCompatibilityExceptionjava.lang.IllegalArgumentExceptionjavax.xml.ws.http.HTTPExceptionGetAlbumsResponse getAlbumsList(GetAlbumsType type, int size) throws com.google.gson.JsonSyntaxException, java.io.IOException, SubsonicException, InvalidResponseException, CompatibilityException, javax.xml.ws.http.HTTPException
type - size - com.google.gson.JsonSyntaxExceptionjava.io.IOExceptionSubsonicExceptionInvalidResponseExceptionCompatibilityExceptionjava.lang.IllegalArgumentExceptionjavax.xml.ws.http.HTTPExceptionGetAlbumsResponse getAlbumsList(GetAlbumsType type, int size, int offset) throws com.google.gson.JsonSyntaxException, java.io.IOException, SubsonicException, InvalidResponseException, CompatibilityException, javax.xml.ws.http.HTTPException
type - size - offset - com.google.gson.JsonSyntaxExceptionjava.io.IOExceptionSubsonicExceptionInvalidResponseExceptionCompatibilityExceptionjava.lang.IllegalArgumentExceptionjavax.xml.ws.http.HTTPExceptionGetRandomSongsResponse getRandomSongs() throws com.google.gson.JsonSyntaxException, java.io.IOException, SubsonicException, InvalidResponseException, CompatibilityException, javax.xml.ws.http.HTTPException
com.google.gson.JsonSyntaxExceptionjava.io.IOExceptionSubsonicExceptionInvalidResponseExceptionCompatibilityExceptionjavax.xml.ws.http.HTTPExceptionGetRandomSongsResponse getRandomSongs(java.lang.String folderId) throws com.google.gson.JsonSyntaxException, java.io.IOException, SubsonicException, InvalidResponseException, CompatibilityException, javax.xml.ws.http.HTTPException
folderId - com.google.gson.JsonSyntaxExceptionjava.io.IOExceptionSubsonicExceptionInvalidResponseExceptionCompatibilityExceptionjavax.xml.ws.http.HTTPExceptionGetRandomSongsResponse getRandomSongs(java.lang.String folderId, int size) throws com.google.gson.JsonSyntaxException, java.io.IOException, SubsonicException, InvalidResponseException, CompatibilityException, javax.xml.ws.http.HTTPException
folderId - size - com.google.gson.JsonSyntaxExceptionjava.io.IOExceptionSubsonicExceptionInvalidResponseExceptionCompatibilityExceptionjavax.xml.ws.http.HTTPExceptionGetPodcastsResponse getPodcasts() throws com.google.gson.JsonSyntaxException, java.io.IOException, SubsonicException, InvalidResponseException, CompatibilityException, javax.xml.ws.http.HTTPException
com.google.gson.JsonSyntaxExceptionjava.io.IOExceptionSubsonicExceptionInvalidResponseExceptionCompatibilityExceptionjavax.xml.ws.http.HTTPExceptionGetPodcastResponse getPodcastEpisodes(java.lang.String podcastId) throws com.google.gson.JsonSyntaxException, java.io.IOException, SubsonicException, InvalidResponseException, CompatibilityException, javax.xml.ws.http.HTTPException
podcastId - com.google.gson.JsonSyntaxExceptionjava.io.IOExceptionSubsonicExceptionInvalidResponseExceptionCompatibilityExceptionjavax.xml.ws.http.HTTPExceptionSubsonicResponse setRating(AlbumRating rating) throws com.google.gson.JsonSyntaxException, java.io.IOException, SubsonicException, InvalidResponseException, CompatibilityException, javax.xml.ws.http.HTTPException
rating - com.google.gson.JsonSyntaxExceptionjava.io.IOExceptionSubsonicExceptionInvalidResponseExceptionCompatibilityExceptionjavax.xml.ws.http.HTTPExceptionjava.io.InputStream download(java.lang.String uniqueId)
throws javax.xml.ws.http.HTTPException,
java.io.IOException,
InvalidResponseException
uniqueId - javax.xml.ws.http.HTTPExceptionjava.io.IOExceptionInvalidResponseExceptionjava.io.InputStream stream(java.lang.String uniqueId)
throws javax.xml.ws.http.HTTPException,
java.io.IOException,
InvalidResponseException
uniqueId - javax.xml.ws.http.HTTPExceptionjava.io.IOExceptionInvalidResponseExceptionjava.io.InputStream stream(java.lang.String uniqueId,
int maxBitRate)
throws java.io.IOException,
InvalidResponseException,
javax.xml.ws.http.HTTPException
uniqueId - maxBitRate - java.io.IOExceptionInvalidResponseExceptionjavax.xml.ws.http.HTTPExceptionjava.lang.String getStreamURL(java.lang.String uniqueId)
uniqueId - java.lang.String getStreamURL(java.lang.String uniqueId,
int maxBitRate)
uniqueId - maxBitRate - java.awt.image.BufferedImage getCoverArt(java.lang.String coverId)
throws java.io.IOException,
InvalidResponseException,
javax.xml.ws.http.HTTPException
coverId - java.io.IOExceptionInvalidResponseExceptionjavax.xml.ws.http.HTTPExceptionjava.awt.image.BufferedImage getCoverArt(java.lang.String coverArt,
int size)
throws java.io.IOException,
InvalidResponseException,
javax.xml.ws.http.HTTPException
coverArt - size - java.io.IOExceptionInvalidResponseExceptionjavax.xml.ws.http.HTTPException