github.com/9hk/mech Index | Files | Directories

package mech

import "github.com/9hk/mech"

Index

Package Files

clean.go dash.go hls.go

func Clean

func Clean(path string) string

type Stream

type Stream struct {
    Client_ID   string
    Info        bool
    Private_Key string
    Poster      widevine.Poster
    Name        string
    // contains filtered or unexported fields
}

func (*Stream) DASH

func (s *Stream) DASH(ref string) (dash.Representations, error)

func (Stream) DASH_Get

func (s Stream) DASH_Get(items dash.Representations, index int) error

func (*Stream) HLS

func (s *Stream) HLS(ref string) (*hls.Master, error)

func (Stream) HLS_Media

func (s Stream) HLS_Media(items hls.Media, index int) error

func (Stream) HLS_Streams

func (s Stream) HLS_Streams(items hls.Streams, index int) error

Directories

PathSynopsis
amc
apple
bandcamp
cbc
cmd
cmd/amc
cmd/cbc
cmd/nbc
cmd/paramount
cmd/roku
cmd/youtube
docs
nbc
paramount
roku
soundcloud
widevine
youtube
Version
v1.0.0 (latest)
Published
Nov 26, 2022
Platform
linux/amd64
Imports
11 packages (graph)
Last checked
2 months ago

Tools for package owners.