Companion: don't tell seekRange

This commit is contained in:
tomkat83 2017-05-17 19:20:16 +02:00
parent f7da47f2d5
commit c7db36bd5d

View file

@ -75,7 +75,6 @@ class SubscriptionManager:
time = 0
ret = "\n"+' <Timeline state="%s" time="%s" type="%s"' % (state, time, ptype)
if playerid is None:
ret += ' seekRange="0-0"'
ret += ' />'
return ret
@ -110,7 +109,6 @@ class SubscriptionManager:
ret += ' containerKey="%s"' % self.containerKey
ret += ' duration="%s"' % info['duration']
ret += ' seekRange="0-%s"' % info['duration']
ret += ' controllable="%s"' % self.controllable()
ret += ' machineIdentifier="%s"' % serv.get('uuid', "")
ret += ' protocol="%s"' % serv.get('protocol', "http")