feat(audio): MPRIS Raise functionality

This commit is contained in:
Alex Rennie 2025-09-23 10:28:19 +01:00 committed by Michael Murphy
parent f0199dffe8
commit 3daffb4fba
2 changed files with 20 additions and 5 deletions

View file

@ -126,6 +126,7 @@ pub enum MprisRequest {
Pause,
Next,
Previous,
Raise,
}
struct State {
@ -282,7 +283,7 @@ async fn run(output: &mut futures::channel::mpsc::Sender<MprisUpdate>) {
_ = state.any_player_state_stream.next(), if !state.players.is_empty() => {
state.update_active_player().await;
},
};
}
}
}