Versions in this module Expand all Collapse all v1 v1.63.2 Aug 13, 2026 v1.63.1 Aug 12, 2026 v1.63.0 Aug 11, 2026 v1.62.0 Jul 25, 2026 v1.61.0 Jul 21, 2026 Changes in this version + type AlbumInfo struct + Artist string + ArtistID string + Genre string + ID string + Name string + TrackCount int + Year int + type ArtistInfo struct + AlbumCount int + ID string + Name string + type DeviceInfo struct + Active bool + Name string + type HistoryInfo struct + PlayedAt string + Track TrackInfo + type HistoryRequestMsg struct + Limit int + Op string + Reply chan Response + type LibraryRequestMsg struct + Album string + Artist string + Index int + Limit int + NewName string + Offset int + Op string + Playlist string + Provider string + Query string + Reply chan Response + Sort string + Track *TrackInfo + type LyricLine struct + Start float64 + Text string + type LyricsRequestMsg struct + Reply chan Response + type PlaylistInfo struct + DurationSecs int + Favoritable bool + Favorite bool + ID string + Name string + Provider string + Section string + TrackCount int + type ProviderInfo struct + BrowseAlbums bool + BrowseArtists bool + Catalog bool + Key string + Name string + Searchable bool + type QueueRequestMsg struct + Index int + Op string + Reply chan Response + To int + Track *TrackInfo type Request + Album string + Artist string + Index int + Limit int + NewName string + Offset int + Provider string + Query string + Sort string + To int + Track *TrackInfo type Response + Albums []AlbumInfo + Artists []ArtistInfo + Devices []DeviceInfo + EQBands []float64 + History []HistoryInfo + Lyrics []LyricLine + Playlists []PlaylistInfo + Providers []ProviderInfo + Sorts []SortInfo + Tracks []TrackInfo + type SaveRequestMsg struct + Reply chan Response + type SortInfo struct + ID string + Label string type TrackInfo + Album string + AlbumArtURL string + Bookmark bool + DurationSecs int + Genre string + Index int + QueuePosition int + Realtime bool + Stream bool + TrackNumber int + Unplayable bool + Year int + type URLRequestMsg struct + Reply chan Response + URL string v1.60.1 Jul 17, 2026 v1.60.0 Jul 16, 2026 v1.59.1 Jul 16, 2026 v1.59.0 Jul 16, 2026 v1.58.0 Jul 16, 2026 Changes in this version + func DefaultSocketPath() string + func StreamBands(ctx context.Context, sockPath string, interval time.Duration, out io.Writer) error + type BandsRequestMsg struct + Reply chan Response + type DeviceMsg struct + Name string + Reply chan Response + type Dispatcher interface + Send func(msg any) + type DispatcherFunc func(msg any) + func (f DispatcherFunc) Send(msg any) + type EQMsg struct + Band int + Name string + Reply chan Response + Value float64 + type LoadMsg struct + Playlist string + Reply chan Response + type MonoMsg struct + Name string + Reply chan Response + type PauseMsg struct + type PlayMsg struct + type PluginDispatcher interface + CommandList func() []string + EmitCommand func(plugin, command string, args []string) (string, error) + type QueueMsg struct + Path string + type RepeatMsg struct + Name string + Reply chan Response + type Request struct + Args []string + Band int + Cmd string + Name string + Path string + Playlist string + Sub string + Value float64 + type Response struct + Bands []float64 + Device string + Duration float64 + EQPreset string + Error string + Index int + Items []string + Mono *bool + OK bool + Output string + Playlist string + Position float64 + Repeat string + Shuffle *bool + Speed float64 + State string + Theme *ThemeInfo + Total int + Track *TrackInfo + Visualizer string + Volume float64 + func Send(sockPath string, req Request) (Response, error) + func SendWithDeadline(sockPath string, req Request, deadline time.Duration) (Response, error) + type SeekMsg struct + Offset time.Duration + type Server struct + func NewServer(sockPath string, disp Dispatcher) (*Server, error) + func (s *Server) Close() error + func (s *Server) SetPluginDispatcher(p PluginDispatcher) + type ShuffleMsg struct + Name string + Reply chan Response + type SpeedMsg struct + Reply chan Response + Speed float64 + type StatusRequestMsg struct + Reply chan Response + type ThemeInfo struct + Accent string + BrightFg string + Fg string + Green string + Name string + Red string + Yellow string + type ThemeMsg struct + Name string + Reply chan Response + type TrackInfo struct + Artist string + Path string + Title string + type VisMsg struct + Name string + Reply chan Response + type VolumeMsg struct + DB float64