Do not show file info for our placeholder image in the UI
This commit is contained in:
parent
0a7dfc5e40
commit
99f9813f8d
@ -79,3 +79,10 @@ class IinaPlayer(MpvPlayer):
|
|||||||
self._setProperty(key, value)
|
self._setProperty(key, value)
|
||||||
self._listener.sendLine(["load-script", findResourcePath("syncplayintf.lua")])
|
self._listener.sendLine(["load-script", findResourcePath("syncplayintf.lua")])
|
||||||
super()._preparePlayer()
|
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()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user