You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to seekTo a given position every time a queue-item starts playing.
Calling seekTo() after play() hasn't worked so I started looking for other solutions.
I stumbled upon this issue and tried all mentioned solutions that should be working.
While I can get it to work for the initial item that's at the head of the queue,
I am unable to get it to work for subsequent queued items.
I attempted to use skip(0, initialTime) in the handler for Event.PlaybackTrackChanges, however this seems to pause the playback and even a subsequent .play call will not restart it.
I am unsure what the right place to add this logic too would be.
I suppose the above mentioned event probably would. However, there is little documentation on it, so I can't really tell with confidence.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am trying to seekTo a given position every time a queue-item starts playing.
Calling seekTo() after play() hasn't worked so I started looking for other solutions.
I stumbled upon this issue and tried all mentioned solutions that should be working.
While I can get it to work for the initial item that's at the head of the queue,
I am unable to get it to work for subsequent queued items.
I attempted to use skip(0, initialTime) in the handler for Event.PlaybackTrackChanges, however this seems to pause the playback and even a subsequent .play call will not restart it.
I am unsure what the right place to add this logic too would be.
I suppose the above mentioned event probably would. However, there is little documentation on it, so I can't really tell with confidence.
Beta Was this translation helpful? Give feedback.
All reactions