Documentation ¶
Index ¶
- type Album
- type AlbumDir
- type Artist
- type Body
- type Change
- type CoverArt
- type DeletePlaylistItemsByIdBody
- type Error
- type ErrorList
- type ExportPlaylist
- type ExportTrack
- type ExportUser
- type GetAlbumById
- type GetAlbumTracksById
- type GetAlbums
- type GetArtistAlbumsById
- type GetArtistById
- type GetArtists
- type GetAuthMe
- type GetPlaylistById
- type GetPlaylists
- type GetSync
- type GetSystemInfo
- type GetTags
- type GetTrackById
- type GetTracks
- type Map
- type Name
- type NameKind
- type Playlist
- type PostAuthSignin
- type PostAuthSigninBody
- type PostAuthSignup
- type PostAuthSignupBody
- type PostPlaylist
- type PostPlaylistBody
- type PostPlaylistFilterBody
- type PostPlaylistItemsByIdBody
- type PostPlaylistsItemMoveByIdBody
- type PostQueue
- type PostSystemExport
- type PostSystemSetupBody
- type Tag
- type Track
- type WorkDir
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlbumDir ¶ added in v0.16.2
type AlbumDir string
func (AlbumDir) MobileFiles ¶ added in v0.16.2
func (AlbumDir) OriginalFiles ¶ added in v0.16.2
type DeletePlaylistItemsByIdBody ¶ added in v0.10.0
type DeletePlaylistItemsByIdBody struct {
TrackIds []string `json:"trackIds"`
}
func (DeletePlaylistItemsByIdBody) Schema ¶ added in v0.13.0
func (b DeletePlaylistItemsByIdBody) Schema() jio.Schema
type ExportPlaylist ¶ added in v0.12.0
type ExportPlaylist struct { Name string `json:"name"` Tracks []ExportTrack `json:"tracks"` }
type ExportTrack ¶ added in v0.12.0
type ExportUser ¶ added in v0.12.0
type ExportUser struct { Username string `json:"username"` Playlists []ExportPlaylist `json:"playlists"` }
type GetAlbumById ¶ added in v0.6.0
type GetAlbumById struct {
Album
}
type GetAlbumTracksById ¶ added in v0.6.0
type GetAlbumTracksById struct {
Tracks []Track `json:"tracks"`
}
type GetArtistAlbumsById ¶ added in v0.6.0
type GetArtistAlbumsById struct {
Albums []Album `json:"albums"`
}
type GetArtistById ¶ added in v0.6.0
type GetArtistById struct {
Artist
}
type GetArtists ¶ added in v0.6.0
type GetArtists struct {
Artists []Artist `json:"artists"`
}
type GetPlaylistById ¶ added in v0.10.0
type GetPlaylists ¶ added in v0.10.0
type GetPlaylists struct {
Playlists []Playlist `json:"playlists"`
}
type GetSystemInfo ¶ added in v0.10.0
type GetTrackById ¶ added in v0.6.0
type GetTrackById struct {
Track
}
type PostAuthSignin ¶ added in v0.10.0
type PostAuthSignin struct {
Token string `json:"token"`
}
type PostAuthSigninBody ¶ added in v0.10.0
type PostAuthSigninBody struct { Username string `json:"username"` Password string `json:"password"` }
func (PostAuthSigninBody) Schema ¶ added in v0.13.0
func (b PostAuthSigninBody) Schema() jio.Schema
type PostAuthSignup ¶ added in v0.10.0
type PostAuthSignupBody ¶ added in v0.10.0
type PostAuthSignupBody struct { Username string `json:"username"` Password string `json:"password"` PasswordConfirm string `json:"passwordConfirm"` }
func (PostAuthSignupBody) Schema ¶ added in v0.13.0
func (b PostAuthSignupBody) Schema() jio.Schema
type PostPlaylist ¶ added in v0.10.0
type PostPlaylist struct {
Playlist
}
type PostPlaylistBody ¶ added in v0.10.0
type PostPlaylistBody struct {
Name string `json:"name"`
}
func (PostPlaylistBody) Schema ¶ added in v0.13.0
func (b PostPlaylistBody) Schema() jio.Schema
type PostPlaylistFilterBody ¶ added in v0.16.2
type PostPlaylistFilterBody struct { Name string `json:"name"` Filter string `json:"filter"` Sort string `json:"sort"` }
func (PostPlaylistFilterBody) Schema ¶ added in v0.16.2
func (b PostPlaylistFilterBody) Schema() jio.Schema
type PostPlaylistItemsByIdBody ¶ added in v0.10.0
type PostPlaylistItemsByIdBody struct {
Tracks []string `json:"tracks"`
}
func (PostPlaylistItemsByIdBody) Schema ¶ added in v0.13.0
func (b PostPlaylistItemsByIdBody) Schema() jio.Schema
type PostPlaylistsItemMoveByIdBody ¶ added in v0.10.0
type PostPlaylistsItemMoveByIdBody struct { TrackId string `json:"trackId"` ToIndex int `json:"toIndex"` }
func (PostPlaylistsItemMoveByIdBody) Schema ¶ added in v0.13.0
func (b PostPlaylistsItemMoveByIdBody) Schema() jio.Schema
type PostSystemExport ¶ added in v0.12.0
type PostSystemExport struct {
Users []ExportUser `json:"users"`
}
type PostSystemSetupBody ¶ added in v0.10.0
type PostSystemSetupBody struct { Username string `json:"username"` Password string `json:"password"` PasswordConfirm string `json:"passwordConfirm"` }
func (PostSystemSetupBody) Schema ¶ added in v0.13.0
func (b PostSystemSetupBody) Schema() jio.Schema
type Track ¶ added in v0.9.0
type Track struct { Id string `json:"id"` Name string `json:"name"` AlbumId string `json:"albumId"` ArtistId string `json:"artistId"` Number *int64 `json:"number"` Duration *int64 `json:"duration"` Year *int64 `json:"year"` OriginalMediaUrl string `json:"originalMediaUrl"` MobileMediaUrl string `json:"mobileMediaUrl"` CoverArt CoverArt `json:"coverArt"` AlbumName string `json:"albumName"` ArtistName string `json:"artistName"` Created int64 `json:"created"` Updated int64 `json:"updated"` Tags []string `json:"tags"` Available bool `json:"available"` }
type WorkDir ¶ added in v0.3.0
type WorkDir string
func (WorkDir) DatabaseFile ¶ added in v0.10.0
func (WorkDir) ExportFile ¶ added in v0.16.2
Click to show internal directories.
Click to hide internal directories.