djmpd

package
v0.0.0-...-6217932 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 31, 2016 License: GPL-3.0 Imports: 17 Imported by: 0

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

type DJRandomSong struct {
	*api.Song
	// contains filtered or unexported fields
}

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)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL