types

package
v1.12.1 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MediaExtensions = []string{
	".mkv", ".mp4", ".avi", ".mov", ".wmv", ".flv",
	".ts", ".m4v", ".mpg", ".mpeg", ".m2ts", ".vob", ".webm",
}

MediaExtensions contains all supported media file extensions

Functions

This section is empty.

Types

type ReleaseMetadata

type ReleaseMetadata struct {
	Name          string  // Original release name
	TitleDE       string  // German title
	TitleDEAlt    string  // Alternative German title
	TitleEN       string  // English title
	ImdbID        string  // IMDb ID (e.g. "tt1234567")
	TmdbID        int     // TMDb ID
	TvdbID        int     // TVDb ID
	TvmazeID      int     // TVmaze ID
	Year          int     // Release year
	FuzzyScore    float64 // Fuzzy match score (0-100)
	FinaleAired   bool    // Indicates if the season finale has aired
	IsBulk        bool    // Indicates if all episodes aired on the same day (bulk release)
	AllowUpload   bool    // Indicates if upload should be allowed (considers grace period for bulk releases)
	EpisodeNumber int     // Episode number in the season (0 if not applicable)
	TotalEpisodes int     // Total number of episodes in the season (0 if not applicable)
	IsTVShow      bool    // Indicates if TMDB detection identified this as a TV show (overrides release name detection)
	Season        int     // Season number (0 for specials)
}

ReleaseMetadata holds information about a media release, including IDs from various databases.

Jump to

Keyboard shortcuts

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