key

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2026 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Overview

Package key resolves Plex metadata identifiers from Plex metadata paths.

Index

Constants

View Source
const Prefix = "/library/metadata/"

Prefix is the Plex metadata path prefix that carries a metadata identifier.

Variables

This section is empty.

Functions

func ID

func ID(path string) string

ID reduces a Plex metadata path to the metadata identifier it carries.

Parameters:

  • path: A Plex request path, such as "/library/metadata/42/children".

Returns:

  • id: The metadata identifier, or empty when path lacks the Prefix.

Types

This section is empty.

Jump to

Keyboard shortcuts

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