radio

package
v0.0.0-...-04ac836 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RadioPlayer

type RadioPlayer struct {
	URI    string
	Info   *infoFile
	LiteDB *db.LiteDB
	// contains filtered or unexported fields
}

func (*RadioPlayer) CheckStatus

func (rp *RadioPlayer) CheckStatus(chDbOperation chan *idl.DbOperation) error

func (*RadioPlayer) CloseStopChannel

func (rp *RadioPlayer) CloseStopChannel()

func (*RadioPlayer) CreateStopChannel

func (rp *RadioPlayer) CreateStopChannel() chan struct{}

func (*RadioPlayer) GetCmdStopChannel

func (rp *RadioPlayer) GetCmdStopChannel() chan struct{}

func (*RadioPlayer) GetDescription

func (rp *RadioPlayer) GetDescription() string

func (*RadioPlayer) GetPropValue

func (rp *RadioPlayer) GetPropValue(propname string) string

func (*RadioPlayer) GetStatusSleepTime

func (rp *RadioPlayer) GetStatusSleepTime() int

func (*RadioPlayer) GetStreamerCmd

func (rp *RadioPlayer) GetStreamerCmd(cmdLineArr []string) (string, string, []string)

func (*RadioPlayer) GetTitle

func (rp *RadioPlayer) GetTitle() string

func (*RadioPlayer) GetTrackDuration

func (rp *RadioPlayer) GetTrackDuration() (string, bool)

func (*RadioPlayer) GetTrackPosition

func (rp *RadioPlayer) GetTrackPosition() (string, bool)

func (*RadioPlayer) GetTrackStatus

func (rp *RadioPlayer) GetTrackStatus() (string, bool)

func (*RadioPlayer) GetURI

func (rp *RadioPlayer) GetURI() string

func (*RadioPlayer) IsUriForMe

func (rp *RadioPlayer) IsUriForMe(uri string) bool

func (*RadioPlayer) Name

func (rp *RadioPlayer) Name() string

func (*RadioPlayer) SetURI

func (rp *RadioPlayer) SetURI(uri string)

Jump to

Keyboard shortcuts

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