pls

package
v0.0.0-...-5edc56a Latest Latest
Warning

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

Go to latest
Published: May 9, 2023 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MaxEntries     = 100
	DefaultVersion = 2
)

Variables

View Source
var (
	ErrMaxEntries    = errors.New("max entries exceeded")
	ErrInvalidFormat = errors.New("invalid format")
)

Functions

This section is empty.

Types

type Entry

type Entry struct {
	Index  int
	File   string
	Title  string
	Length int
}

type Playlist

type Playlist struct {
	Version         int
	NumberOfEntries int
	Entries         []Entry
}

func Parse

func Parse(in io.Reader) (Playlist, error)

Jump to

Keyboard shortcuts

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