X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/452fdf6b7875f8185960f9b1649ba3d8fad4ab24..60c6b67a63dbda5dbe36b1bf8bc0f45a7692d91b:/lib/python/Plugins/SystemPlugins/SatelliteEquipmentControl/plugin.py diff --git a/lib/python/Plugins/SystemPlugins/SatelliteEquipmentControl/plugin.py b/lib/python/Plugins/SystemPlugins/SatelliteEquipmentControl/plugin.py index b9d3e444..6cf7c8fe 100644 --- a/lib/python/Plugins/SystemPlugins/SatelliteEquipmentControl/plugin.py +++ b/lib/python/Plugins/SystemPlugins/SatelliteEquipmentControl/plugin.py @@ -61,9 +61,12 @@ def SecSetupStart(menuid): # only show if DVB-S frontends are available for slot in nimmgr.nim_slots: if slot.isCompatible("DVB-S"): - return [(_("Satellite Equipment Setup"), SecSetupMain)] + return [(_("Satellite Equipment Setup"), SecSetupMain, "satellite_equipment_setup", None)] return [ ] def Plugins(**kwargs): - return PluginDescriptor(name=_("Satellite Equipment Setup"), description="Setup your satellite equipment", where = PluginDescriptor.WHERE_SETUP, fnc=SecSetupStart) + if (nimmgr.hasNimType("DVB-S")): + return PluginDescriptor(name=_("Satellite Equipment Setup"), description="Setup your satellite equipment", where = PluginDescriptor.WHERE_MENU, fnc=SecSetupStart) + else: + return []