-
Notifications
You must be signed in to change notification settings - Fork 121
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Track start event? #29
Comments
Not at present, no. Play/Pause (i.e., changes to For now, I think you can work around this by adding a timed event to a track which fires in the first 20ms (i.e., set it to 5ms or similar). These fire based on the playback time for a track, so a track which transitions from paused to playing will fire this event in the same "tick" as the track starts (assuming this relates to queued tracks). |
I assume you mean using the delayed event? |
@peppizza depending upon ur requirement this might not be useful, but to display an embed on track start, I implemented a track end event like this: |
@saanuregh I achieved something very similar to that except checking for the empty queue when the event is created, and not creating it if its the first song |
Uses much of the existing machinery to add some more PlayMode state change events—all in all, a pretty simple change. Closes serenity-rs#29.
Is there an event i can register to get fired on a track starting, similar to that of a track ending
The text was updated successfully, but these errors were encountered: