mirror of
https://github.com/librespot-org/librespot.git
synced 2024-12-18 17:11:53 +00:00
Don't log messages when sending player events over channel.
This commit is contained in:
parent
23d3c1593f
commit
9ff6fe900c
1 changed files with 1 additions and 4 deletions
|
@ -416,10 +416,7 @@ impl PlayerInternal {
|
||||||
}
|
}
|
||||||
|
|
||||||
fn send_event(&mut self, event: PlayerEvent) {
|
fn send_event(&mut self, event: PlayerEvent) {
|
||||||
match self.event_sender.unbounded_send(event.clone()) {
|
let _ = self.event_sender.unbounded_send(event.clone());
|
||||||
Ok(_) => info!("Sent event {:?} to event listener.", event),
|
|
||||||
Err(err) => error!("Failed to send event {:?} to listener: {:?}", event, err)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
fn find_available_alternative<'a>(&self, track: &'a Track) -> Option<Cow<'a, Track>> {
|
fn find_available_alternative<'a>(&self, track: &'a Track) -> Option<Cow<'a, Track>> {
|
||||||
|
|
Loading…
Reference in a new issue