you

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: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InfoLink struct {
	Title       string `json:"title"`
	Duration    int    `json:"duration"`
	Description string `json:"description"`
}

type YoutubePl

type YoutubePl struct {
	YoutubeInfo *InfoLink
	URI         string
	TmpInfo     string
	// contains filtered or unexported fields
}

func (*YoutubePl) CheckStatus

func (yp *YoutubePl) CheckStatus(chDbOperation chan *idl.DbOperation) error

func (*YoutubePl) CloseStopChannel

func (yp *YoutubePl) CloseStopChannel()

func (*YoutubePl) CreateStopChannel

func (yp *YoutubePl) CreateStopChannel() chan struct{}

func (*YoutubePl) GetCmdStopChannel

func (yp *YoutubePl) GetCmdStopChannel() chan struct{}

func (*YoutubePl) GetDescription

func (yp *YoutubePl) GetDescription() string

func (*YoutubePl) GetPropValue

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

func (*YoutubePl) GetStatusSleepTime

func (yp *YoutubePl) GetStatusSleepTime() int

func (*YoutubePl) GetStreamerCmd

func (yp *YoutubePl) GetStreamerCmd(cmdLineArr []string) (string, string, []string)

func (*YoutubePl) GetTitle

func (yp *YoutubePl) GetTitle() string

func (*YoutubePl) GetTrackDuration

func (yp *YoutubePl) GetTrackDuration() (string, bool)

func (*YoutubePl) GetTrackPosition

func (yp *YoutubePl) GetTrackPosition() (string, bool)

func (*YoutubePl) GetTrackStatus

func (yp *YoutubePl) GetTrackStatus() (string, bool)

func (*YoutubePl) GetURI

func (yp *YoutubePl) GetURI() string

func (*YoutubePl) IsUriForMe

func (yp *YoutubePl) IsUriForMe(uri string) bool

func (*YoutubePl) Name

func (yp *YoutubePl) Name() string

func (*YoutubePl) SetURI

func (rp *YoutubePl) SetURI(uri string)

Jump to

Keyboard shortcuts

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