noui

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2017 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitialiseNoUserInterface

func InitialiseNoUserInterface(events *sconsify.Events, output Printer, repeatOn *bool, shuffle *bool) sconsify.UserInterface

Types

type NoUi

type NoUi struct {
	// contains filtered or unexported fields
}

func (*NoUi) ArtistAlbums

func (noui *NoUi) ArtistAlbums(folder *sconsify.Playlist)

func (*NoUi) GetNextToPlay

func (noui *NoUi) GetNextToPlay() *sconsify.Track

func (*NoUi) NewPlaylists

func (noui *NoUi) NewPlaylists(playlists sconsify.Playlists) error

func (*NoUi) NewTrackLoaded added in v0.4.0

func (noui *NoUi) NewTrackLoaded(duration time.Duration)

func (*NoUi) PlayTokenLost

func (noui *NoUi) PlayTokenLost() error

func (*NoUi) Shutdown

func (noui *NoUi) Shutdown()

func (*NoUi) TrackNotAvailable

func (noui *NoUi) TrackNotAvailable(track *sconsify.Track)

func (*NoUi) TrackPaused

func (noui *NoUi) TrackPaused(track *sconsify.Track)

func (*NoUi) TrackPlaying

func (noui *NoUi) TrackPlaying(track *sconsify.Track)

type Printer

type Printer interface {
	Print(message string)
}

type SilentPrinter

type SilentPrinter struct{}

func (*SilentPrinter) Print

func (p *SilentPrinter) Print(message string)

type StandardOutputPrinter

type StandardOutputPrinter struct{}

func (*StandardOutputPrinter) Print

func (p *StandardOutputPrinter) Print(message string)

Jump to

Keyboard shortcuts

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