From 2b58cad473b9fce5cf9490570435284ea349458d Mon Sep 17 00:00:00 2001 From: Et0h Date: Tue, 30 Dec 2014 23:55:18 +0000 Subject: [PATCH] Remove notifications for change of readiness state --- syncplay/client.py | 12 ------------ syncplay/messages.py | 6 ------ 2 files changed, 18 deletions(-) diff --git a/syncplay/client.py b/syncplay/client.py index a710a29..22aa708 100644 --- a/syncplay/client.py +++ b/syncplay/client.py @@ -500,18 +500,6 @@ class SyncplayClient(object): self.ui.userListChange() if oldReadyState != isReady: 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) def createControlledRoom(self, roomName): diff --git a/syncplay/messages.py b/syncplay/messages.py index ad6e257..58fd9cd 100755 --- a/syncplay/messages.py +++ b/syncplay/messages.py @@ -33,8 +33,6 @@ en = { "playing-notification" : "<{}> is playing '{}' ({})", # User, file, duration "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 "all-users-ready" : "Everyone is ready", @@ -358,8 +356,6 @@ ru = { "playing-notification" : u"<{}> включил '{}' ({})", # User, file, duration "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 "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/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 "all-users-ready" : u"Everyone is ready", # TODO: Translate into German