Documentation ¶
Overview ¶
Copyright © 2020 The Pachinko Authors
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
Copyright © 2020 The Pachinko Authors ¶
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
Copyright © 2020 The Pachinko Authors ¶
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ArchiveExtensions = []string{
"7z",
"gz",
"gzip",
"rar",
"tar",
"zip",
}
var AudioChannels = map[string]*regexp.Regexp{ "2.0": regexp.MustCompile(`2\.0`), "5.1": regexp.MustCompile(`5\.1`), "7.1": regexp.MustCompile(`7\.1`), }
AudioChannels audiochannels
var AudioFormats = map[string]*regexp.Regexp{ "aac": regexp.MustCompile("aac"), }
AudioFormats audioformats
var ColorFormats = map[string]*regexp.Regexp{ "8 bit": regexp.MustCompile(`8.bit`), "10 bit": regexp.MustCompile(`10.bit`), }
ColorFormats colorformats
var ExecutableExtensions = []string{
"exe",
}
var ImageExtensions = []string{
"bmp",
"gif",
"heic",
"jpeg",
"jpg",
"png",
"tiff",
}
var Resolutions = map[string]*regexp.Regexp{ "1080p": regexp.MustCompile(`\b1080p?`), "720p": regexp.MustCompile(`\b720p?`), "480p": regexp.MustCompile(`\b480p?`), }
Resolutions resolutions
var Sources = map[string]*regexp.Regexp{ "bluray": regexp.MustCompile("bluray"), "dvd": regexp.MustCompile("dvd"), "hdtv": regexp.MustCompile("hdtv"), }
Sources sources
var SubtitleExtensions = []string{
"srt",
"sub",
}
var TVSeason = map[string]*regexp.Regexp{ "season": regexp.MustCompile("season|series"), }
TVSeason season
var TextExtensions = []string{
"info",
"nfo",
"txt",
"website",
}
var VideoExtensions = []string{
"avi",
"divx",
"m4v",
"mkv",
"mov",
"mp4",
"xvid",
}
var VideoFormats = map[string]*regexp.Regexp{ "hevc": regexp.MustCompile("hevc"), "h.264": regexp.MustCompile(`h\.?264`), "h.265": regexp.MustCompile(`h\.?265`), "mov": regexp.MustCompile(`\bmov\b`), "mpeg": regexp.MustCompile("mpeg"), "x264": regexp.MustCompile(`x\.?264`), "x265": regexp.MustCompile(`x\.?265`), }
VideoFormats videoformats
Functions ¶
This section is empty.
Types ¶
type Item ¶ added in v0.5.0
type Item struct { Category Category Delete bool DestinationPath string FileType FileType Identifiers map[string]string MediaType metadata.MediaType MovieMetadata movie.Metadata SourcePath string TVMetadata tv.Metadata VideoMetadata video.Metadata }
Item is the container struct for a file flowing through the entire pipeline