importer

package
v1.4.3 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2019 License: MIT Imports: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BITRATE_RE = regexp.MustCompile("(?i)^(24k|96k|128k|hd)$")
View Source
var FILMDATE_RE = regexp.MustCompile("^((19|20)\\d\\d)-(0?[1-9]|1[012])-(0?[1-9]|[12][0-9]|3[01])$") // YYYY-MM-DD
View Source
var LANG_RE *regexp.Regexp
View Source
var OT_RE = regexp.MustCompile("(?i)^[ot]$")
View Source
var RAV_NORAV_RE = regexp.MustCompile("(?i)^(rav|norav)$")

Functions

func NormalizedFileName

func NormalizedFileName(name string) string

Types

type Line

type Line struct {
	Language string
	OT       string
	Rav      string
	FilmDate string
	Bitrate  string
	Format   string
}

func ParseLine

func ParseLine(name string) Line

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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