gconst

package
v1.0.19 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2023 License: AGPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TvShow                     = "tv_show"
	Movie                      = "movie"
	TvShowEpisodeFilesBucket   = "tv_show_episode_files"
	MovieFilesBucket           = "movie_files"
	GithubApiBaseUrl           = "https://api.github.com/"
	GithubJsonAcceptHeader     = "application/vnd.github.v3+json"
	HttpContentTypeOctetStream = "application/octet-stream"
	TmpDir                     = "./tmp"

	TvShowSeasonRegexp         = `([Ss]|(Season|SEASON))([\d]{1,4})\D`
	TvShowEpisodeSingleRegexp  = `([Ee]|(Episode|EPISODE|Ep|EP))([\d]{1,4})\D`
	TvShowEpisodeIsMultiRegexp = `(([Ee]|(Episode|EPISODE|Ep|EP))([\d]{1,2})){2,}\D`
	TvShowEpisodeTitleRegexp   = `(.*)+(([Ss]|(Season|SEASON))([\d]{1,4})\D)`
	TvShowResolutionRegexp     = `\W(\d+p)\W`
	MovieTitleRegexp           = `(.*)(\d{4})\W`
	MovieYearRegexp            = `(.*)(\d{4})\W`
	MovieResolutionRegexp      = `\W(\d+p)\W`

	WindowsGeneratedFileThumbsDb = "Thumbs.db"

	PartialFileExtension = ".part"

	ExampleConfigYaml = `` /* 3386-byte string literal not displayed */

)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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