aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Plugins/SystemPlugins/Satfinder/plugin.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/python/Plugins/SystemPlugins/Satfinder/plugin.py')
-rw-r--r--lib/python/Plugins/SystemPlugins/Satfinder/plugin.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/python/Plugins/SystemPlugins/Satfinder/plugin.py b/lib/python/Plugins/SystemPlugins/Satfinder/plugin.py
index f3fb35eb..3cf48fb8 100644
--- a/lib/python/Plugins/SystemPlugins/Satfinder/plugin.py
+++ b/lib/python/Plugins/SystemPlugins/Satfinder/plugin.py
@@ -284,4 +284,7 @@ def SatfinderStart(menuid):
return []
def Plugins(**kwargs):
- return PluginDescriptor(name=_("Satfinder"), description="Helps setting up your dish", where = PluginDescriptor.WHERE_SETUP, fnc=SatfinderStart)
+ if (nimmanager.hasNimType("DVB-T")):
+ return PluginDescriptor(name=_("Satfinder"), description="Helps setting up your dish", where = PluginDescriptor.WHERE_SETUP, fnc=SatfinderStart)
+ else:
+ return []