libpath

package
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2026 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Overview

Package libpath defines the shared virtual library names exposed by clients.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Disambiguate

func Disambiguate(items []NamedKey) map[core.RatingKey]string

Disambiguate returns one stable name per key. Names that collide on case-insensitive filesystems acquire their rating key as a suffix.

func Episode

func Episode(title core.Title) string

func MovieName

func MovieName(title core.Title) string

func Safe

func Safe(value string) string

Safe converts a title to one cross-platform path component. It never returns a traversal component; callers must still detect duplicate names per folder.

func Season

func Season(show string, season int) string

Types

type NamedKey

type NamedKey struct {
	Name string
	Key  core.RatingKey
}

NamedKey names a sibling using its stable catalogue identity.

Jump to

Keyboard shortcuts

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