From a24ec1951768c3aa429a2dfd3c447eb74bbd88c4 Mon Sep 17 00:00:00 2001 From: Etoh Date: Mon, 8 Jan 2018 01:09:09 +0000 Subject: [PATCH] Fix Syncplay handling of file duration in mpv (part 2) --- syncplay/players/mpv.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syncplay/players/mpv.py b/syncplay/players/mpv.py index 0278876..88bd7a3 100644 --- a/syncplay/players/mpv.py +++ b/syncplay/players/mpv.py @@ -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))