cli

package
v0.0.0-...-9f5d76c Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2026 License: GPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindAndCombineDocu

func FindAndCombineDocu(docuLibrary, movieLibrary *content.Library) error

FindAndCombineDocu scans the documentary library and checks if each documentary also exists in the movies library. For duplicates, it compares videos and asks the user to choose which to keep, or to move the movie copy to the documentary folder.

func FindAndCombineDocuSeries

func FindAndCombineDocuSeries(docuseriesLibrary, tvLibrary *content.Library) error

FindAndCombineDocuSeries scans the docuseries library and checks if each series also exists in the TV library. For duplicates, it compares seasons/episodes and processes episode-by-episode to determine which to keep.

func ImportDownloadedContent

func ImportDownloadedContent(cmd *cobra.Command, args []string) error

func Make

func Make(cmdName string) (*cobra.Command, error)

func ProcessMovies

func ProcessMovies(id string, mapping content.LibraryMapping) error

func ProcessSeries

func ProcessSeries(id string, mapping content.LibraryMapping) error

func ProcessSpecialFiles

func ProcessSpecialFiles(indent int, s content.Series, seriesDestPath, folder string, files []string, pathsToDelete *[]string) error

func RenderVideoComparisonTable

func RenderVideoComparisonTable(indent int, headers []string, videos []content.VideoFile)

func ValidateParams

func ValidateParams(params []string) func(cmd *cobra.Command, args []string) error

Types

type FlagData

type FlagData struct {
	Confirm        bool
	IgnoreExisting bool
}

func GetFlags

func GetFlags() FlagData

type TableRow

type TableRow struct {
	Name       string
	Value      func(v content.VideoFile) string
	Equal      func(v1, v2 content.VideoFile) bool
	BetterThan func(v1, v2 content.VideoFile) bool
}

Jump to

Keyboard shortcuts

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