Fix Syncplay handling of file duration in mpv (part 2)

This commit is contained in:
Etoh 2018-01-08 01:09:09 +00:00
parent 78c29ec5b2
commit a24ec19517
1 changed files with 1 additions and 1 deletions

View File

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