value

package
v0.0.0-...-8220668 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// TargetExtension - The target extension for transcoded files i.e. we will be created mp4 files (ffmpeg uses the
	// extension to determine the target format).
	TargetExtension = ".mp4"

	// TranscodingExtension - The extension used for files which are being transcoded; this is a temporary extension
	// which will be renamed to the target extension upon completion.
	TranscodingExtension = ".transcoding" + TargetExtension
)

Variables

View Source
var SupportedExtensions = []string{".mp4", ".mkv", ".avi"}

SupportedExtensions - The list of extensions supported by goamt i.e. the files that will be detected by the update sub-command (all other files will be ignored).

Functions

This section is empty.

Types

type Entry

type Entry struct {
	ID         int
	Path       string
	Discovered int64
	Transcoded *int64
	Hash       uint32
}

Entry - Represents an entry in the SQLite database, used when interacting with a '*database.Database'.

func (Entry) Fields

func (e Entry) Fields() log.Fields

Fields - Implement the fielder interface for the apex log module, note that fields with a default value will be omitted.

Jump to

Keyboard shortcuts

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