mirror of https://github.com/Syncplay/syncplay
Fix Syncplay handling of file duration in mpv (part 2)
This commit is contained in:
parent
78c29ec5b2
commit
a24ec19517
|
@ -124,7 +124,7 @@ class NewMpvPlayer(OldMpvPlayer):
|
|||
if property_ in floatProperties:
|
||||
propertyID = u"={}".format(property_)
|
||||
elif property_ == 'length':
|
||||
propertyID = u'=length:${=duration:0}'
|
||||
propertyID = u'=duration:${=length:0}'
|
||||
else:
|
||||
propertyID = property_
|
||||
self._listener.sendLine(u"print_text ""ANS_{}=${{{}}}""".format(property_, propertyID))
|
||||
|
|
Loading…
Reference in New Issue