From 0763479d1b4b0425e16330778ab2b8c32ef45595 Mon Sep 17 00:00:00 2001 From: Et0h Date: Tue, 30 Dec 2014 14:09:36 +0000 Subject: [PATCH] Always honour 'Show OSD Warnings' being disabled --- syncplay/client.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/syncplay/client.py b/syncplay/client.py index 458bd1e..ab3bb60 100644 --- a/syncplay/client.py +++ b/syncplay/client.py @@ -942,6 +942,8 @@ class UiManager(object): self.__ui.showUserList(currentUser, rooms) def showOSDMessage(self, message, duration=constants.OSD_DURATION, secondaryOSD=False): + if secondaryOSD and not constants.SHOW_OSD_WARNINGS: + return if constants.SHOW_OSD and self._client and self._client._player: if not self._client._player.secondaryOSDSupported: if secondaryOSD: