Documentation ¶
Index ¶
- Constants
- type Router
- func (api *Router) CreateBookmark(r *http.Request) (*responses.Subsonic, error)
- func (api *Router) CreateInternetRadio(r *http.Request) (*responses.Subsonic, error)
- func (api *Router) CreatePlaylist(r *http.Request) (*responses.Subsonic, error)
- func (api *Router) CreateShare(r *http.Request) (*responses.Subsonic, error)
- func (api *Router) DeleteBookmark(r *http.Request) (*responses.Subsonic, error)
- func (api *Router) DeleteInternetRadio(r *http.Request) (*responses.Subsonic, error)
- func (api *Router) DeletePlaylist(r *http.Request) (*responses.Subsonic, error)
- func (api *Router) DeleteShare(r *http.Request) (*responses.Subsonic, error)
- func (api *Router) Download(w http.ResponseWriter, r *http.Request) (*responses.Subsonic, error)
- func (api *Router) GetAlbum(r *http.Request) (*responses.Subsonic, error)
- func (api *Router) GetAlbumInfo(r *http.Request) (*responses.Subsonic, error)
- func (api *Router) GetAlbumList(w http.ResponseWriter, r *http.Request) (*responses.Subsonic, error)
- func (api *Router) GetAlbumList2(w http.ResponseWriter, r *http.Request) (*responses.Subsonic, error)
- func (api *Router) GetArtist(r *http.Request) (*responses.Subsonic, error)
- func (api *Router) GetArtistInfo(r *http.Request) (*responses.Subsonic, error)
- func (api *Router) GetArtistInfo2(r *http.Request) (*responses.Subsonic, error)
- func (api *Router) GetArtists(r *http.Request) (*responses.Subsonic, error)
- func (api *Router) GetAvatar(w http.ResponseWriter, r *http.Request) (*responses.Subsonic, error)
- func (api *Router) GetBookmarks(r *http.Request) (*responses.Subsonic, error)
- func (api *Router) GetCoverArt(w http.ResponseWriter, r *http.Request) (*responses.Subsonic, error)
- func (api *Router) GetGenres(r *http.Request) (*responses.Subsonic, error)
- func (api *Router) GetIndexes(r *http.Request) (*responses.Subsonic, error)
- func (api *Router) GetInternetRadios(r *http.Request) (*responses.Subsonic, error)
- func (api *Router) GetLicense(_ *http.Request) (*responses.Subsonic, error)
- func (api *Router) GetLyrics(r *http.Request) (*responses.Subsonic, error)
- func (api *Router) GetLyricsBySongId(r *http.Request) (*responses.Subsonic, error)
- func (api *Router) GetMusicDirectory(r *http.Request) (*responses.Subsonic, error)
- func (api *Router) GetMusicFolders(r *http.Request) (*responses.Subsonic, error)
- func (api *Router) GetNowPlaying(r *http.Request) (*responses.Subsonic, error)
- func (api *Router) GetOpenSubsonicExtensions(_ *http.Request) (*responses.Subsonic, error)
- func (api *Router) GetPlayQueue(r *http.Request) (*responses.Subsonic, error)
- func (api *Router) GetPlaylist(r *http.Request) (*responses.Subsonic, error)
- func (api *Router) GetPlaylists(r *http.Request) (*responses.Subsonic, error)
- func (api *Router) GetRandomSongs(r *http.Request) (*responses.Subsonic, error)
- func (api *Router) GetScanStatus(r *http.Request) (*responses.Subsonic, error)
- func (api *Router) GetShares(r *http.Request) (*responses.Subsonic, error)
- func (api *Router) GetSimilarSongs(r *http.Request) (*responses.Subsonic, error)
- func (api *Router) GetSimilarSongs2(r *http.Request) (*responses.Subsonic, error)
- func (api *Router) GetSong(r *http.Request) (*responses.Subsonic, error)
- func (api *Router) GetSongsByGenre(r *http.Request) (*responses.Subsonic, error)
- func (api *Router) GetStarred(r *http.Request) (*responses.Subsonic, error)
- func (api *Router) GetStarred2(r *http.Request) (*responses.Subsonic, error)
- func (api *Router) GetTopSongs(r *http.Request) (*responses.Subsonic, error)
- func (api *Router) GetUser(r *http.Request) (*responses.Subsonic, error)
- func (api *Router) GetUsers(r *http.Request) (*responses.Subsonic, error)
- func (api *Router) JukeboxControl(r *http.Request) (*responses.Subsonic, error)
- func (api *Router) Ping(_ *http.Request) (*responses.Subsonic, error)
- func (api *Router) SavePlayQueue(r *http.Request) (*responses.Subsonic, error)
- func (api *Router) Scrobble(r *http.Request) (*responses.Subsonic, error)
- func (api *Router) Search2(r *http.Request) (*responses.Subsonic, error)
- func (api *Router) Search3(r *http.Request) (*responses.Subsonic, error)
- func (api *Router) SetRating(r *http.Request) (*responses.Subsonic, error)
- func (api *Router) Star(r *http.Request) (*responses.Subsonic, error)
- func (api *Router) StartScan(r *http.Request) (*responses.Subsonic, error)
- func (api *Router) Stream(w http.ResponseWriter, r *http.Request) (*responses.Subsonic, error)
- func (api *Router) Unstar(r *http.Request) (*responses.Subsonic, error)
- func (api *Router) UpdateInternetRadio(r *http.Request) (*responses.Subsonic, error)
- func (api *Router) UpdatePlaylist(r *http.Request) (*responses.Subsonic, error)
- func (api *Router) UpdateShare(r *http.Request) (*responses.Subsonic, error)
Constants ¶
View Source
const ( ActionGet = "get" ActionStatus = "status" ActionSet = "set" ActionStart = "start" ActionStop = "stop" ActionSkip = "skip" ActionAdd = "add" ActionClear = "clear" ActionRemove = "remove" ActionShuffle = "shuffle" ActionSetGain = "setGain" )
View Source
const Version = "1.16.1"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Router ¶
func New ¶
func New(ds model.DataStore, artwork artwork.Artwork, streamer core.MediaStreamer, archiver core.Archiver, players core.Players, externalMetadata core.ExternalMetadata, scanner scanner.Scanner, broker events.Broker, playlists core.Playlists, scrobbler scrobbler.PlayTracker, share core.Share) *Router
func (*Router) CreateBookmark ¶ added in v0.49.0
func (*Router) CreateInternetRadio ¶ added in v0.49.0
func (*Router) CreatePlaylist ¶ added in v0.49.0
func (*Router) CreateShare ¶ added in v0.49.0
func (*Router) DeleteBookmark ¶ added in v0.49.0
func (*Router) DeleteInternetRadio ¶ added in v0.49.0
func (*Router) DeletePlaylist ¶ added in v0.49.0
func (*Router) DeleteShare ¶ added in v0.49.0
func (*Router) GetAlbumInfo ¶ added in v0.49.0
func (*Router) GetAlbumList ¶ added in v0.49.0
func (*Router) GetAlbumList2 ¶ added in v0.49.0
func (*Router) GetArtistInfo ¶ added in v0.49.0
func (*Router) GetArtistInfo2 ¶ added in v0.49.0
func (*Router) GetArtists ¶ added in v0.49.0
func (*Router) GetBookmarks ¶ added in v0.49.0
func (*Router) GetCoverArt ¶ added in v0.49.0
func (*Router) GetIndexes ¶ added in v0.49.0
func (*Router) GetInternetRadios ¶ added in v0.49.0
func (*Router) GetLicense ¶ added in v0.49.0
func (*Router) GetLyricsBySongId ¶ added in v0.51.0
func (*Router) GetMusicDirectory ¶ added in v0.49.0
func (*Router) GetMusicFolders ¶ added in v0.49.0
func (*Router) GetNowPlaying ¶ added in v0.49.0
func (*Router) GetOpenSubsonicExtensions ¶ added in v0.50.0
func (*Router) GetPlayQueue ¶ added in v0.49.0
func (*Router) GetPlaylist ¶ added in v0.49.0
func (*Router) GetPlaylists ¶ added in v0.49.0
func (*Router) GetRandomSongs ¶ added in v0.49.0
func (*Router) GetScanStatus ¶ added in v0.49.0
func (*Router) GetSimilarSongs ¶ added in v0.49.0
func (*Router) GetSimilarSongs2 ¶ added in v0.49.0
func (*Router) GetSongsByGenre ¶ added in v0.49.0
func (*Router) GetStarred ¶ added in v0.49.0
func (*Router) GetStarred2 ¶ added in v0.49.0
func (*Router) GetTopSongs ¶ added in v0.49.0
func (*Router) GetUser ¶ added in v0.49.0
TODO This is a placeholder. The real one has to read this info from a config file or the database
func (*Router) JukeboxControl ¶ added in v0.50.0
func (*Router) SavePlayQueue ¶ added in v0.49.0
func (*Router) UpdateInternetRadio ¶ added in v0.49.0
func (*Router) UpdatePlaylist ¶ added in v0.49.0
Source Files ¶
Click to show internal directories.
Click to hide internal directories.