-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
Hey - first off, thanks so much for this, it is sooooo helpful! I just hit a scenario where I am sending a play command and then waiting for a property so I'm sure its loaded - basically this:
self.mpv.play(file_path)
self.mpv.wait_for_property("duration")
# do the next thingWe discovered though, that if file_path points to an empty or corrupt file (so it can't be played), then this duration is never set. I'll look to see if there is another property that makes more sense to track there - but is there a way to set a timeout on wait_for_property?
Metadata
Metadata
Assignees
Labels
No labels