m3u

package
v0.0.0-...-ba3f146 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2020 License: GPL-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetMD5Hash

func GetMD5Hash(text string) string

func InitClient

func InitClient(conf *config.Config)

Types

type Stream

type Stream struct {
	Duration string
	Name     string
	Uri      string
	CUID     string `yaml:"CUID"`

	// these are attributes
	ChNo     string `yaml:"chno"`
	Id       string `yaml:"tvg-id"`
	TvgName  string `yaml:"tvg-name"`
	Shift    string `yaml:"tvg-shift"`
	Language string `yaml:"tvg-language"`
	Group    string `yaml:"group-title"`
	// contains filtered or unexported fields
}

func (Stream) GetName

func (s Stream) GetName() string

type Streams

type Streams []*Stream

func ProcessConfig

func ProcessConfig(conf *config.Config) (streams Streams, epg *xmltv.XMLTV, allFailed bool)

func (Streams) Len

func (s Streams) Len() int

func (Streams) Less

func (s Streams) Less(i, j int) bool

func (Streams) Swap

func (s Streams) Swap(i, j int)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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