-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Seeking #12
Comments
Can you clarify? Do you mean that you can click on the progress bar to control the player progress? |
yep |
Added forward() and backward() actions on #33 for now. Having skill issues finding a way to do it on progress bar using mouse |
Just updated to
|
Also would be nice to have an action to set progress to |
doesn't update or just have a delay on it? |
I maked it so it will immediately redraw when the action is triggered |
Now it supports for -1 values for both forward() and backward(). if |
2025-01-23_09-04-25.mp4 |
I actually have no clue what is going on. it might be a problem on mpris-rs itself. both Action::Forward(offset) => if_player!(&fum.player, |player: &Player| {
fum.redraw = true;
if let Some(track_id) = &fum.meta.track_id {
match offset {
-1 => return player.set_position(track_id.clone(), &fum.meta.length),
_ => return player.seek_forwards(&Duration::from_millis(*offset as u64))
}
}
unreachable!()
}),
Action::Backward(offset) => if_player!(&fum.player, |player: &Player| {
fum.redraw = true;
if let Some(track_id) = &fum.meta.track_id {
match offset {
-1 => return player.set_position(track_id.clone(), &Duration::from_secs(0)),
_ => return player.seek_backwards(&Duration::from_millis(*offset as u64))
}
}
unreachable!()
}) |
I also notice a slight delay when i manually manipulate spotify, if i go forwards thru the track the ui updates pretty fast, when going back there is a slight delay. 2025-01-23_19-19-35.mp4 |
I never had big delay issues with fum+mpd. |
what player are currently using to test this? also doing |
mpd |
There is a couple of things might be happening in here: Either:
for now i will try the solution of instead of using the |
Tried, same issue. Fast updating when going forward, slight delay when going backward. |
2025-01-13_15-55-15.mp4
The text was updated successfully, but these errors were encountered: