The now-playing clock rendered raw milliseconds as seconds, so a 3:04 track read as 3070:32. TrackPosition carries milliseconds (the TUI wraps it with Duration::from_millis); convert ms to seconds at both display sites. The progress gauge already used a position/duration ratio, so it was unaffected. format_seconds now zero-pads minutes and rolls into h:mm:ss past an hour, matching the TUI's now-playing pane. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| app.rs | ||
| keymap.rs | ||
| main.rs | ||
| rpc.rs | ||
| state.rs | ||