From 99f9813f8d940a60a34017abc9383197a1c733f7 Mon Sep 17 00:00:00 2001 From: Alberto Sottile Date: Sun, 18 Oct 2020 23:21:02 +0200 Subject: [PATCH] Do not show file info for our placeholder image in the UI --- syncplay/players/iina.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/syncplay/players/iina.py b/syncplay/players/iina.py index 0c439fb..12ee2c3 100644 --- a/syncplay/players/iina.py +++ b/syncplay/players/iina.py @@ -79,3 +79,10 @@ class IinaPlayer(MpvPlayer): self._setProperty(key, value) self._listener.sendLine(["load-script", findResourcePath("syncplayintf.lua")]) super()._preparePlayer() + + def _onFileUpdate(self): + # do not show file info for our placeholder image in Syncplay UI + if self._filename == "iina-bkg.png": + return + else: + super()._onFileUpdate()