Skip to content

Slider not working #9

Description

@garlontas

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).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions