parsers

package
v0.0.0-...-01875d1 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2019 License: GPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ExtMap = map[string]ContainerParser{
	".flac": ParseFLAC,
	".mkv":  ParseMKV,
	".mp3":  ParseMP3,
}

Functions

This section is empty.

Types

type ContainerParser

type ContainerParser func(io.ReadSeeker) (Info, error)

type Info

type Info struct {
	Tags      []content.Tag
	AudioInfo *content.AudioInfo
	VideoInfo *content.VideoInfo
}

func ParseFLAC

func ParseFLAC(r io.ReadSeeker) (info Info, err error)

func ParseMKV

func ParseMKV(r io.ReadSeeker) (info Info, err error)

func ParseMP3

func ParseMP3(r io.ReadSeeker) (info Info, err error)

Jump to

Keyboard shortcuts

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