Skip to content

Commit 6165171

Browse files
committed
fix: parsing of SeekToCommand json with negative position values
1 parent 33bf3a7 commit 6165171

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2222
- [main] Fixed `--volume-ctrl fixed` not disabling volume control
2323
- [core] Fix default permissions on credentials file and warn user if file is world readable
2424
- [core] Try all resolved addresses for the dealer connection instead of failing after the first one.
25+
- [core] Allow parsing negative position values send in the `SeekToCommand` when seeking relative to current
2526

2627
## [0.8.0] - 2025-11-10
2728

core/src/dealer/protocol/request.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ pub struct PauseCommand {
108108
#[derive(Clone, Debug, Deserialize)]
109109
pub struct SeekToCommand {
110110
pub value: u32,
111-
pub position: u32,
111+
pub position: i32,
112112
pub logging_params: LoggingParams,
113113
}
114114

0 commit comments

Comments
 (0)