Try printing a timestamp when the movie is paused.
This commit is contained in:
parent
e4322e1093
commit
f146107903
@ -360,7 +360,7 @@ class SyncplayClient(object):
|
|||||||
self._player.setPaused(True)
|
self._player.setPaused(True)
|
||||||
madeChangeOnPlayer = True
|
madeChangeOnPlayer = True
|
||||||
if (self.lastLeftTime < time.time() - constants.OSD_DURATION) or hideFromOSD == True:
|
if (self.lastLeftTime < time.time() - constants.OSD_DURATION) or hideFromOSD == True:
|
||||||
self.ui.showMessage(getMessage("pause-notification").format(setBy), hideFromOSD)
|
self.ui.showMessage(getMessage("pause-notification").format(setBy, self.getGlobalPosition()), hideFromOSD)
|
||||||
else:
|
else:
|
||||||
self.ui.showMessage(getMessage("left-paused-notification").format(self.lastLeftUser, setBy), hideFromOSD)
|
self.ui.showMessage(getMessage("left-paused-notification").format(self.lastLeftUser, setBy), hideFromOSD)
|
||||||
return madeChangeOnPlayer
|
return madeChangeOnPlayer
|
||||||
|
|||||||
@ -23,7 +23,7 @@ en = {
|
|||||||
"slowdown-notification": "Slowing down due to time difference with {}", # User
|
"slowdown-notification": "Slowing down due to time difference with {}", # User
|
||||||
"revert-notification": "Reverting speed back to normal",
|
"revert-notification": "Reverting speed back to normal",
|
||||||
|
|
||||||
"pause-notification": "{} paused", # User
|
"pause-notification": "{} paused at {}", # User
|
||||||
"unpause-notification": "{} unpaused", # User
|
"unpause-notification": "{} unpaused", # User
|
||||||
"seek-notification": "{} jumped from {} to {}", # User, from time, to time
|
"seek-notification": "{} jumped from {} to {}", # User, from time, to time
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user