Expand description
Tauri commands for unit conversions and formatting
TRACES: UR-005 | DR-009
These commands expose conversion utilities to the frontend, allowing centralized conversion logic in Rust.
Functionsยง
- calc_
progress - Calculate progress percentage from position and duration
- convert_
percent_ to_ volume - Convert percentage volume (0-100) to normalized (0.0-1.0)
- convert_
ticks_ to_ seconds - Convert Jellyfin ticks to seconds
- format_
time_ seconds - Format time in seconds to MM:SS display string
- format_
time_ seconds_ long - Format time in seconds to HH:MM:SS or MM:SS display string