Skip to main content

Module conversions

Module conversions 

Source
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