mirror of
https://github.com/librespot-org/librespot.git
synced 2025-10-04 10:19:27 +02:00
Refactor TrackMetaData in the player and add the metadata to the player events.
Fire more events in the --onevent script and set more variables.
This commit is contained in:
parent
ef27b4bce3
commit
c9117542eb
3 changed files with 217 additions and 167 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