fix(audio): increment counter

This commit is contained in:
Ashley Wulber 2023-10-24 14:11:53 -04:00 committed by Ashley Wulber
parent 17cf0ee4cd
commit 9e866088e4

View file

@ -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;
}
};