fix(audio): increment counter
This commit is contained in:
parent
17cf0ee4cd
commit
9e866088e4
1 changed files with 1 additions and 0 deletions
|
|
@ -75,6 +75,7 @@ async fn update(state: State, output: &mut futures::channel::mpsc::Sender<MprisU
|
|||
Err(e) => {
|
||||
tracing::error!(?e, "Failed to find active media player.");
|
||||
std::thread::sleep(Duration::from_millis(ctr.min(20) * 100));
|
||||
ctr += 1;
|
||||
continue;
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue