use usize for request ids

This commit is contained in:
2024-05-03 22:29:27 +02:00
parent cb0921144d
commit 878cebbc9f
3 changed files with 10 additions and 10 deletions

View File

@@ -41,7 +41,7 @@ pub enum MpvCommand {
to: usize,
},
Observe {
id: isize,
id: usize,
property: String,
},
PlaylistNext,
@@ -59,7 +59,7 @@ pub enum MpvCommand {
option: SeekOptions,
},
Stop,
Unobserve(isize),
Unobserve(usize),
}
/// Helper trait to keep track of the string literals that mpv expects.