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:
|
if property_ in floatProperties:
|
||||||
propertyID = u"={}".format(property_)
|
propertyID = u"={}".format(property_)
|
||||||
elif property_ == 'length':
|
elif property_ == 'length':
|
||||||
propertyID = u'=length:${=duration:0}'
|
propertyID = u'=duration:${=length:0}'
|
||||||
else:
|
else:
|
||||||
propertyID = property_
|
propertyID = property_
|
||||||
self._listener.sendLine(u"print_text ""ANS_{}=${{{}}}""".format(property_, propertyID))
|
self._listener.sendLine(u"print_text ""ANS_{}=${{{}}}""".format(property_, propertyID))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user