metadata

package
v0.1.30 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Item

type Item struct {
	XMLName xml.Name `xml:"item"`
	Type    string   `xml:"type"`
	Code    string   `xml:"code"`
	Length  int      `xml:"length"`
	Data    string   `xml:"data"`
}

type MetadataParser

type MetadataParser struct {
	IndexStr   string
	TrackIndex int32
	Artist     string
	Album      string
	Title      string
	Length     int
	Status     PlayerState
}

func (*MetadataParser) Start

func (mp *MetadataParser) Start()

func (MetadataParser) Stop

func (mp MetadataParser) Stop()

type PlayerState added in v0.1.6

type PlayerState byte

>> TODO: duplicated from lingo-extremote/extremote.go

const (
	PlayerStateStopped PlayerState = 0x00
	PlayerStatePlaying PlayerState = 0x01
	PlayerStatePaused  PlayerState = 0x02
	PlayerStateError   PlayerState = 0xff
)

Jump to

Keyboard shortcuts

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