SystemPlugins/NetworkWizard: Don't depend on device names where possible. Some code...
[enigma2.git] / lib / python / Plugins / SystemPlugins / Videomode / VideoHardware.py
index 59c50476e6551d43cf76c59fd733b101a96bf49d..dc4e8c564ac67f2ccc1dc980f0f231447f3f4009 100644 (file)
@@ -239,9 +239,9 @@ class VideoHardware:
                portlist = self.getPortList()
                for port in portlist:
                        descr = port
-                       if descr == 'DVI' and hw_type in ('dm500hd', 'dm800se'):
+                       if descr == 'DVI' and hw_type in ('dm500hd', 'dm800se', 'dm7020hd'):
                                descr = 'HDMI'
-                       elif descr == 'DVI-PC' and hw_type in ('dm500hd', 'dm800se'):
+                       elif descr == 'DVI-PC' and hw_type in ('dm500hd', 'dm800se', 'dm7020hd'):
                                descr = 'HDMI-PC'
                        lst.append((port, descr))