Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions lib/python/Plugins/SystemPlugins/ViX/SoftcamManager.py
Original file line number Diff line number Diff line change
Expand Up @@ -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])
Expand Down