m3u

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseEach

func ParseEach(r io.Reader, onItem func(Item) error) (int, error)

ParseEach parses M3U items and emits each normalized item incrementally.

Types

type Item

type Item struct {
	ItemKey    string
	ChannelKey string
	Name       string
	Group      string
	StreamURL  string
	TVGID      string
	Attrs      map[string]string
}

Item represents a parsed M3U entry before catalog normalization.

func Parse

func Parse(r io.Reader) ([]Item, error)

Jump to

Keyboard shortcuts

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