NeedMoreCucumbersException
This commit is contained in:
parent
aa7b935de7
commit
83524539fd
@ -1,3 +1,3 @@
|
|||||||
version = '1.1.4'
|
version = '1.1.5'
|
||||||
milestone = 'Tequila'
|
milestone = 'Tequila'
|
||||||
projectURL = 'http://uriziel.github.com/syncplay/'
|
projectURL = 'http://uriziel.github.com/syncplay/'
|
||||||
@ -213,7 +213,9 @@ class SyncplayClient(object):
|
|||||||
return 0.0
|
return 0.0
|
||||||
position = self._playerPosition
|
position = self._playerPosition
|
||||||
if(not self._playerPaused):
|
if(not self._playerPaused):
|
||||||
position += time.time() - self._lastPlayerUpdate
|
diff = time.time() - self._lastPlayerUpdate
|
||||||
|
if diff < 0.5:
|
||||||
|
position += diff
|
||||||
return position
|
return position
|
||||||
|
|
||||||
def getPlayerPaused(self):
|
def getPlayerPaused(self):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user