Expand description
Jellyfin → domain translation.
The ONLY place Jellyfin’s vocabulary touches the domain model. Adding a
second provider later means a sibling from_<provider>.rs; the domain types
and every consumer stay untouched.
Spec: docs/specs/frontend-domain-model.md
Constants§
- TICKS_
PER_ 🔒MILLISECOND - Jellyfin ticks per second (10 million). A tick is 100 ns. The frontend must never see ticks — this is where they die.
Functions§
- kind_
from_ jellyfin - Classify a Jellyfin
Typestring into a neutralMediaKind. - stream_
kind_ from_ jellyfin - Classify a Jellyfin media-stream
Typestring into a neutralStreamKind. Total and panic-free. - ticks_
to_ ms - Convert a Jellyfin
RunTimeTicksvalue to milliseconds.