parsers

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2020 License: GPL-3.0 Imports: 6 Imported by: 2

Documentation

Overview

Package parsers has a collection of parsers that can extract useful information out of filenames.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ParsedMovieInfo

type ParsedMovieInfo struct {
	Year  uint64
	Title string
}

ParsedMovieInfo holds extracted information from the given filename.

func ParseMovieName

func ParseMovieName(fileName string) *ParsedMovieInfo

ParseMovieName attempts to parse a filename looking for movie information.

type ParsedSeriesInfo

type ParsedSeriesInfo struct {
	Year       string
	Title      string
	EpisodeNum int
	SeasonNum  int
}

ParsedSeriesInfo holds extracted information from the given filename.

func ParseSeriesName added in v0.3.3

func ParseSeriesName(filePath string) *ParsedSeriesInfo

ParseSeriesName attempts to parse a filename looking for episode/season information.

Jump to

Keyboard shortcuts

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