Documentation ¶
Index ¶
- type RadioPlayer
- func (rp *RadioPlayer) CheckStatus(chDbOperation chan *idl.DbOperation) error
- func (rp *RadioPlayer) CloseStopChannel()
- func (rp *RadioPlayer) CreateStopChannel() chan struct{}
- func (rp *RadioPlayer) GetCmdStopChannel() chan struct{}
- func (rp *RadioPlayer) GetDescription() string
- func (rp *RadioPlayer) GetPropValue(propname string) string
- func (rp *RadioPlayer) GetStatusSleepTime() int
- func (rp *RadioPlayer) GetStreamerCmd(cmdLineArr []string) (string, string, []string)
- func (rp *RadioPlayer) GetTitle() string
- func (rp *RadioPlayer) GetTrackDuration() (string, bool)
- func (rp *RadioPlayer) GetTrackPosition() (string, bool)
- func (rp *RadioPlayer) GetTrackStatus() (string, bool)
- func (rp *RadioPlayer) GetURI() string
- func (rp *RadioPlayer) IsUriForMe(uri string) bool
- func (rp *RadioPlayer) Name() string
- func (rp *RadioPlayer) SetURI(uri string)
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)
Click to show internal directories.
Click to hide internal directories.