-
Notifications
You must be signed in to change notification settings - Fork 111
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
player.get_lenght() doesn't give the right value. #71
Comments
The You have 2 options: either you check the |
Wow there was a reason why the function returns with different values!! I just fixed my application to work properly. Thank you. |
Just a comment, methods |
Hi, I just started to use python-vlc to implement video playing in my application.
I want to know the length (play time) of a video file. My function looks like below.
self.media is set properly and also I see the video playing. There is a print function in the middle playVideo function. It prints -1 even though there is no problem with playing it.
One strange thing is that some time after I call playVideo(), get_length() returns a right value(play time). Why get_length()'s return value is different?
`
`
The text was updated successfully, but these errors were encountered: