Remove notifications for change of readiness state
This commit is contained in:
parent
52e13d1edd
commit
2b58cad473
@ -500,18 +500,6 @@ class SyncplayClient(object):
|
|||||||
self.ui.userListChange()
|
self.ui.userListChange()
|
||||||
if oldReadyState != isReady:
|
if oldReadyState != isReady:
|
||||||
self._warnings.checkReadyStates()
|
self._warnings.checkReadyStates()
|
||||||
if manuallyInitiated:
|
|
||||||
showOnOSD = constants.SHOW_OSD_WARNINGS
|
|
||||||
if constants.SHOW_NONCONTROLLER_OSD == False and self.userlist.canControl(username) == False and self.userlist.currentUser.isController() == False:
|
|
||||||
# Ignore SHOW_NONCONTROLLER_OSD setting if user is controller, because they need to know who is/isn't ready
|
|
||||||
showOnOSD = False
|
|
||||||
hideFromOSD = not showOnOSD
|
|
||||||
if isReady:
|
|
||||||
message = getMessage("user-ready-notification").format(username)
|
|
||||||
else:
|
|
||||||
message = getMessage("user-not-ready-notification").format(username)
|
|
||||||
self.ui.showMessage(message, hideFromOSD, False)
|
|
||||||
|
|
||||||
|
|
||||||
@requireMinServerVersion(constants.CONTROLLED_ROOMS_MIN_VERSION)
|
@requireMinServerVersion(constants.CONTROLLED_ROOMS_MIN_VERSION)
|
||||||
def createControlledRoom(self, roomName):
|
def createControlledRoom(self, roomName):
|
||||||
|
|||||||
@ -33,8 +33,6 @@ en = {
|
|||||||
"playing-notification" : "<{}> is playing '{}' ({})", # User, file, duration
|
"playing-notification" : "<{}> is playing '{}' ({})", # User, file, duration
|
||||||
"playing-notification/room-addendum" : " in room: '{}'", # Room
|
"playing-notification/room-addendum" : " in room: '{}'", # Room
|
||||||
|
|
||||||
"user-ready-notification" : "<{}> I'm ready", # Username
|
|
||||||
"user-not-ready-notification" : "<{}> I'm not ready", # Username
|
|
||||||
"not-all-ready" : "Not ready: {}", # Usernames
|
"not-all-ready" : "Not ready: {}", # Usernames
|
||||||
"all-users-ready" : "Everyone is ready",
|
"all-users-ready" : "Everyone is ready",
|
||||||
|
|
||||||
@ -358,8 +356,6 @@ ru = {
|
|||||||
"playing-notification" : u"<{}> включил '{}' ({})", # User, file, duration
|
"playing-notification" : u"<{}> включил '{}' ({})", # User, file, duration
|
||||||
"playing-notification/room-addendum" : u" в комнате: '{}'", # Room
|
"playing-notification/room-addendum" : u" в комнате: '{}'", # Room
|
||||||
|
|
||||||
"user-ready-notification" : u"<{}> I'm ready", # Username # TODO: Translate into Russian
|
|
||||||
"user-not-ready-notification" : u"<{}> I'm not ready", # Username # TODO: Translate into Russian
|
|
||||||
"not-all-ready" : u"Not ready: {}", # Usernames # TODO: Translate into Russian
|
"not-all-ready" : u"Not ready: {}", # Usernames # TODO: Translate into Russian
|
||||||
"all-users-ready" : u"Everyone is ready", # TODO: Translate into Russian
|
"all-users-ready" : u"Everyone is ready", # TODO: Translate into Russian
|
||||||
|
|
||||||
@ -682,8 +678,6 @@ de = {
|
|||||||
"playing-notification" : u"<{}> spielt '{}' ({})", # User, file, duration
|
"playing-notification" : u"<{}> spielt '{}' ({})", # User, file, duration
|
||||||
"playing-notification/room-addendum" : u" in Raum: '{}'", # Room
|
"playing-notification/room-addendum" : u" in Raum: '{}'", # Room
|
||||||
|
|
||||||
"user-ready-notification" : u"<{}> I'm ready", # Username # TODO: Translate into German
|
|
||||||
"user-not-ready-notification" : u"<{}> I'm not ready", # Username # TODO: Translate into German
|
|
||||||
"not-all-ready" : u"Not ready: {}", # Usernames # TODO: Translate into German
|
"not-all-ready" : u"Not ready: {}", # Usernames # TODO: Translate into German
|
||||||
"all-users-ready" : u"Everyone is ready", # TODO: Translate into German
|
"all-users-ready" : u"Everyone is ready", # TODO: Translate into German
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user