player

package
v1.0.80 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2024 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var VolumeValue string

Functions

func ActivateDevice

func ActivateDevice(cfg *config.Config, deviceIds string)

func AddToQueue

func AddToQueue(cfg *config.Config, accessToken string, url string)

func Device

func Device(cfg *config.Config)

func DeviceCommand

func DeviceCommand(cfg *config.Config) *cobra.Command

func Next

func Next(cfg *config.Config, accessToken string, callPlayer bool)

func NextCommand

func NextCommand(cfg *config.Config) *cobra.Command

func PauseCommand

func PauseCommand(cfg *config.Config) *cobra.Command

func Play

func Play(cfg *config.Config, accessToken string, URI string)

func PlayCommand

func PlayCommand(cfg *config.Config) *cobra.Command

func Player

func Player(cfg *config.Config)

func PreviousCommand

func PreviousCommand(cfg *config.Config) *cobra.Command

func SavedCommand

func SavedCommand(cfg *config.Config) *cobra.Command

func VolumeCommand

func VolumeCommand(cfg *config.Config) *cobra.Command

Types

type DeviceResponse

type DeviceResponse struct {
	Devices []cmdTypes.DeviceType `json:"devices"`
}

Jump to

Keyboard shortcuts

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