feat(audio): MPRIS Raise functionality
This commit is contained in:
parent
f0199dffe8
commit
3daffb4fba
2 changed files with 20 additions and 5 deletions
|
|
@ -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;
|
||||
},
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue