Audio attachments: seeking before playing should set the start position #577

Open
opened 2026-11-14 21:47:31 +00:00 by charles · 0 comments
Owner

Follow-up from the review of PR #556 (Task 25, #513).

In Flaxative, UserAction::SeekAttachment on an attachment that is not playing is ignored (crates/fluxer-core/src/chat/media.rs, seek). The original seeks the preloaded element, so playing then starts from there.

To do: remember a pending position per attachment (from the server duration), pass it as start in MediaCommand::Open, and show it in AudioPlayerModel::position.

Follow-up from the review of PR #556 (Task 25, #513). In Flaxative, `UserAction::SeekAttachment` on an attachment that is not playing is ignored (`crates/fluxer-core/src/chat/media.rs`, `seek`). The original seeks the preloaded element, so playing then starts from there. To do: remember a pending position per attachment (from the server `duration`), pass it as `start` in `MediaCommand::Open`, and show it in `AudioPlayerModel::position`.
charles added this to the Daily use milestone 2026-11-14 21:47:31 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
charles/fluxer-native#577
No description provided.