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

Slider not working #9

Open
garlontas opened this issue Feb 3, 2021 · 0 comments
Open

Slider not working #9

garlontas opened this issue Feb 3, 2021 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@garlontas
Copy link
Member

garlontas commented Feb 3, 2021

The slider isn't moving in many cases.
I think it is because of that code which tries to get position for slider:

 while True:
     success, position = self._player.query_position(Gst.Format.TIME)
     if success:
         position = float(position) / Gst.SECOND
             break
        return position

It doesn't exit the while loop.
The while loop was thought to accelerate the CD in order to get the position (it works only if the CD is rotating fast enough).

@garlontas garlontas added the bug Something isn't working label Feb 3, 2021
@garlontas garlontas self-assigned this May 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant