Documentation ¶
Index ¶
Constants ¶
View Source
const StreamingSource = "streaming"
Variables ¶
View Source
var ErrNotFound = errors.New("entry not found in library")
Functions ¶
This section is empty.
Types ¶
type AlbumFull ¶
type AlbumFull struct { Album AlbumWithArtists Tracks []TrackFull }
type AlbumWithArtists ¶
func (*AlbumWithArtists) ToClient ¶
func (a *AlbumWithArtists) ToClient() client.Album
type Artist ¶
type ArtistFull ¶
type ArtistFull struct { Artist Artist Albums []AlbumWithArtists }
func (*ArtistFull) ToClient ¶
func (a *ArtistFull) ToClient() (res client.ArtistFull)
type PlayedAlbum ¶
type PlayedAlbum struct { ID uuid.UUID Title string StreamingID *string AlbumID *uuid.UUID ImageURL *string Played time.Time Release *time.Time Artists []string }
func (*PlayedAlbum) ToClient ¶
func (a *PlayedAlbum) ToClient() client.Album
type PlaylistFull ¶
func (*PlaylistFull) ToClient ¶
func (p *PlaylistFull) ToClient() client.PlaylistFull
type SearchRes ¶
type SearchRes struct { Artists []Artist Albums []AlbumWithArtists Tracks []TrackFull }
func (*SearchRes) ToClientSlim ¶
func (s *SearchRes) ToClientSlim() (res client.SlimSearchRes)
Click to show internal directories.
Click to hide internal directories.