mirror of
https://github.com/librespot-org/librespot.git
synced 2025-10-04 10:19:27 +02:00
Merge pull request #452 from kaymes/improved_events
Add more data to player events and fire more of them
This commit is contained in:
commit
0aa9bc60e3
3 changed files with 77 additions and 26 deletions
|
@ -543,6 +543,7 @@ impl Future for Main {
|
|||
|
||||
if let Some(ref mut player_event_channel) = self.player_event_channel {
|
||||
if let Async::Ready(Some(event)) = player_event_channel.poll().unwrap() {
|
||||
progress = true;
|
||||
if let Some(ref program) = self.player_event_program {
|
||||
if let Some(child) = run_program_on_events(event, program) {
|
||||
let child = child
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue