m3u

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Channel

type Channel struct {
	*m3u.Track
	// contains filtered or unexported fields
}

func (*Channel) Group

func (c *Channel) Group() string

type Channels

type Channels []*Channel

func ListChannels

func ListChannels(filedir string) (Channels, error)

func (Channels) FileName

func (c Channels) FileName() string

func (Channels) Get

func (c Channels) Get(id string) *Channel

func (Channels) Groups

func (c Channels) Groups() Groups

func (Channels) IDs

func (c Channels) IDs() []string

func (Channels) SelectMany

func (c Channels) SelectMany() (Channels, error)

func (Channels) Write

func (c Channels) Write(path string) error

type Groups

type Groups []string

Jump to

Keyboard shortcuts

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