gui

package
v1.15.0 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2023 License: MIT Imports: 37 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Start

func Start(ctx context.Context, s *NewScreen)

Start .

Types

type DataRepository added in v1.14.0

type DataRepository struct{}

func (*DataRepository) CanRead added in v1.14.0

func (r *DataRepository) CanRead(u fyne.URI) (bool, error)

func (*DataRepository) Destroy added in v1.14.0

func (r *DataRepository) Destroy(string)

func (*DataRepository) Exists added in v1.14.0

func (r *DataRepository) Exists(u fyne.URI) (bool, error)

func (*DataRepository) Reader added in v1.14.0

func (r *DataRepository) Reader(u fyne.URI) (fyne.URIReadCloser, error)

type NewScreen

type NewScreen struct {
	Current    fyne.Window
	VolumeDown *widget.Button
	SlideBar   *tappedSlider
	Debug      *debugWriter
	CurrentPos binding.String
	EndPos     binding.String

	CheckVersion    *widget.Button
	SubsText        *widget.Entry
	CustomSubsCheck *widget.Check
	PlayPause       *widget.Button
	Stop            *widget.Button
	DeviceList      *widget.List

	MediaText           *widget.Entry
	ExternalMediaURL    *widget.Check
	GaplessMediaWatcher func(context.Context, *NewScreen, *soapcalls.TVPayload)

	MuteUnmute *widget.Button
	VolumeUp   *widget.Button

	NextMediaCheck *widget.Check

	State string

	Transcode    bool
	ErrorVisible bool
	Medialoop    bool
	Hotkeys      bool
	// contains filtered or unexported fields
}

NewScreen .

func InitFyneNewScreen

func InitFyneNewScreen(v string) *NewScreen

InitFyneNewScreen .

func (*NewScreen) EmitMsg

func (p *NewScreen) EmitMsg(a string)

EmitMsg Method to implement the screen interface

func (*NewScreen) Fini

func (p *NewScreen) Fini()

Fini Method to implement the screen interface. Will only be executed when we receive a callback message, not when we explicitly click the Stop button.

Jump to

Keyboard shortcuts

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