Documentation
¶
Index ¶
- Constants
- type MpvPlayer
- func (m *MpvPlayer) Close()
- func (m *MpvPlayer) DecVolume()
- func (m *MpvPlayer) Events() chan mpv.Event
- func (m *MpvPlayer) IncVolume()
- func (m *MpvPlayer) Init() (err error)
- func (m *MpvPlayer) IsMute() bool
- func (m *MpvPlayer) Mute()
- func (m *MpvPlayer) NowPlaying() string
- func (m *MpvPlayer) Play(stream_url string)
- func (m *MpvPlayer) SetVolume(volume int)
- func (m *MpvPlayer) ToggleMute()
- func (m *MpvPlayer) Unmute()
- func (m *MpvPlayer) Volume() int
Constants ¶
View Source
const UserRequestID_media_title uint64 = 20000001
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MpvPlayer ¶
type MpvPlayer struct {
// contains filtered or unexported fields
}
MpvPlayer is a wrapper around gompv implementing the RadioPlayer interface
func (*MpvPlayer) NowPlaying ¶
NowPlaying return a the name of the track playin
Click to show internal directories.
Click to hide internal directories.