Expand description
Identifiers. On the wire each one is a namespaced string, for example
plex:movie:12345.
Clients treat them as opaque: they compare them and send them back, and
never take them apart. The namespace is part of the ID so that native:
IDs (and, with federation, IDs from another server) can be added without
a format change. Only the server reads the parts, through the accessors.
A paired server’s item is in Namespace::Federated: its key
is the origin’s server id, then the id the origin knows it by without
the kind, which the federated id carries already
(fed:movie:mzxw6ytbojtg633c:plex:12). The origin is the server id,
not its endpoint key, so a rotated key keeps every id.
Structs§
- Artwork
Id - A piece of artwork, fetched through the client protocol, never from
Plex directly:
<namespace>:<key>. - Library
Id - A library (a Plex library section today):
<namespace>:<key>. - MediaId
- A movie, show, season, episode, artist, album or track:
<namespace>:<kind>:<key>. - Person
Id - A person a search found, whose items can be listed:
<namespace>:<key>.