Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChannelItem ¶
type ChannelItem struct { ID int64 `json:"id"` Key string `json:"key"` Name string `json:"name"` Playlist string `json:"playlist"` }
ChannelItem contains di.fm channel metadata
type CurrentlyPlaying ¶
type CurrentlyPlaying struct { ChannelID int64 `json:"channel_id"` ChannelKey string `json:"channel_key"` Track Track `json:"track"` }
CurrentlyPlaying contains the currently playing metadata for a di.fm channel
type FavoriteItem ¶
FavoriteItem contains a di.fm favorite channel
type Network ¶ added in v1.10.0
type Network struct { ListenURL string Name string ShortName string // the name used in API URL paths }
Network is an audio addict network
type StatusMessage ¶
StatusMessage is a message to display in the application for a fixed period of time
type Track ¶
type Track struct { ID int `json:"id"` Artist string `json:"display_artist"` Title string `json:"display_title"` Duration float64 `json:"duration"` StartTime time.Time `json:"start_time"` }
Track is metadata about a currently playing di.fm track
type TrackDetails ¶ added in v1.3.28
TrackDetails is metadata about a currently playing di.fm track
Click to show internal directories.
Click to hide internal directories.