Get exact playback position #2197
Unanswered
jakobbraun
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
First of all, thank you for creating and maintaining this amazing project!
I would like to get the exact playback position of a song. I’ve noticed the metadata field prgr, which provides the position that the player is currently reporting. However, it seems that the actual playback is delayed by the usual ~2 seconds of latency. To determine the real position, I would need to subtract this latency, but I haven’t found a way to retrieve its value.
My use case is to connect a visualization that relies on analysis of the track, such as beat positions.
Does anyone have an idea how to approach this? Is there something existing that I could use? Or does anyone have a suggestion on how to expose the real playback position as metadata?
Best regards,
Jakob
Beta Was this translation helpful? Give feedback.
All reactions