X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=blobdiff_plain;f=lib%2Fpython%2FPlugins%2FExtensions%2FDLNABrowser%2Fplugin.py;h=884b5a0773ad1415d748463b12181a2026c3d52f;hp=b6fa471fdc6ec90e1fb0f00e4fa9fce9a97895eb;hb=d619c613c873c6c242022cdae8d0db4b336e5027;hpb=e981b4328e099f62e029e97694e24f19c50d4860 diff --git a/lib/python/Plugins/Extensions/DLNABrowser/plugin.py b/lib/python/Plugins/Extensions/DLNABrowser/plugin.py index b6fa471..884b5a0 100644 --- a/lib/python/Plugins/Extensions/DLNABrowser/plugin.py +++ b/lib/python/Plugins/Extensions/DLNABrowser/plugin.py @@ -793,7 +793,10 @@ class DLNADeviceBrowser(Screen): def keyOK(self): global DLNA_CONFIG_ROOT_DIR - selectedFullPaht = '%s%s/'%(DLNA_CONFIG_ROOT_DIR, self["devicelist"].getCurrent()[1]) + selectedItem = self["devicelist"].getCurrent() + if selectedItem is None: + return + selectedFullPaht = '%s%s/'%(DLNA_CONFIG_ROOT_DIR, selectedItem[1]) self.session.openWithCallback(self.cbDeviceListRefresh, DLNAFileBrowser, selectedFullPaht) self.deviceListRefreshTimer.stop()