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