Skip to content
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

Allow getting the player's seek time instead of the real time #465

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

iscle
Copy link
Collaborator

@iscle iscle commented Feb 8, 2022

The new method returns the desired seek time if available, or the real time if the player has already sought.

Should fix #448.

@devgianlu
Copy link
Member

That seems a good improvement, but even better would be to provide a seekAndWait(int pos) or seek(int pos, SeekCallback cb).
@iscle Do you think you could manage it in this PR?

iTaysonLab added a commit to iTaysonLab/librespot-java that referenced this pull request Sep 20, 2022
Signed-off-by: iTaysonLab <9827543+iTaysonLab@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Seeking 'Player' does not update player.time() instantly, and there is no way to wait for update
2 participants