Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DJRandomDatabase ¶
type DJRandomDatabase struct {
// contains filtered or unexported fields
}
func NewDJRandomDatabase ¶
func NewDJRandomDatabase() *DJRandomDatabase
func (*DJRandomDatabase) Find ¶
func (d *DJRandomDatabase) Find(args []string) ([]mpd.Song, error)
func (*DJRandomDatabase) GetPlayRecorder ¶
func (d *DJRandomDatabase) GetPlayRecorder() *PlayRecorder
func (*DJRandomDatabase) GetSong ¶
func (d *DJRandomDatabase) GetSong(songURL *url.URL) (mpd.Song, error)
func (*DJRandomDatabase) Search ¶
func (d *DJRandomDatabase) Search(args []string) ([]mpd.Song, error)
type DJRandomSong ¶
func (*DJRandomSong) Channels ¶
func (s *DJRandomSong) Channels() int
func (*DJRandomSong) Duration ¶
func (s *DJRandomSong) Duration() int
func (*DJRandomSong) Info ¶
func (s *DJRandomSong) Info() string
func (*DJRandomSong) Open ¶
func (s *DJRandomSong) Open() (io.ReadCloser, error)
func (*DJRandomSong) SampleRate ¶
func (s *DJRandomSong) SampleRate() float64
func (*DJRandomSong) URL ¶
func (s *DJRandomSong) URL() string
type PlayRecorder ¶
type PlayRecorder struct {
// contains filtered or unexported fields
}
func (*PlayRecorder) Notify ¶
func (r *PlayRecorder) Notify(song mpd.Song)
Click to show internal directories.
Click to hide internal directories.