From 5729e3f6c7e1784b43a82a32bfd37da3794c34cf Mon Sep 17 00:00:00 2001 From: xcentaurix Date: Fri, 16 Jan 2026 12:47:11 +0000 Subject: [PATCH] add support for gbox softcam --- lib/python/Plugins/SystemPlugins/ViX/SoftcamManager.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/python/Plugins/SystemPlugins/ViX/SoftcamManager.py b/lib/python/Plugins/SystemPlugins/ViX/SoftcamManager.py index 7c10b62f81..b7fb0b9966 100644 --- a/lib/python/Plugins/SystemPlugins/ViX/SoftcamManager.py +++ b/lib/python/Plugins/SystemPlugins/ViX/SoftcamManager.py @@ -282,6 +282,10 @@ def keyStart(self): self.session.openWithCallback(self.showActivecam, VIXStartCam, self.sel[0]) elif selcam.lower().startswith("scam"): self.session.openWithCallback(self.showActivecam, VIXStartCam, self.sel[0]) + elif selcam.lower().startswith("gbox"): + if not path.exists("/var/keys/gbox.cfg"): + self.session.open(MessageBox, _("No config files found, please setup gbox first\nin /usr/keys."), MessageBox.TYPE_INFO, timeout=10, close_on_any_key=True) + self.session.openWithCallback(self.showActivecam, VIXStartCam, self.sel[0]) else: self.session.open(MessageBox, _("Found non-standard softcam, trying to start, this may fail."), MessageBox.TYPE_INFO, timeout=10, close_on_any_key=True) self.session.openWithCallback(self.showActivecam, VIXStartCam, self.sel[0])