Documentation
¶
Index ¶
- func ConnectToDbus() (*dbus.Conn, error)
- func GetPlaybackStatus(conn *dbus.Conn) (string, error)
- func GetStream(conn *dbus.Conn) (string, error)
- func Mute(conn *dbus.Conn) error
- func StartOMX(streamURL string, args []string) error
- func StopStream(conn *dbus.Conn) error
- func SwitchStream(conn *dbus.Conn, streamURL string) error
- func Unmute(conn *dbus.Conn) error
- func VolumeControl(conn *dbus.Conn, volume ...float64) (currVolume float64, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConnectToDbus ¶
ConnectToDbus establishes a new connection to the omxplayer over dbus
func GetPlaybackStatus ¶
GetPlaybackStatus returns the status of the player
func SwitchStream ¶
SwitchStream switches player output to a new stream
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.