projects
/
vuplus_dvbapp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
e981b43
)
[dlnabrowser plugin] fix bug.
author
kos
<kos@dev3>
Mon, 2 Jul 2012 06:08:48 +0000
(15:08 +0900)
committer
kos
<kos@dev3>
Mon, 2 Jul 2012 06:08:48 +0000
(15:08 +0900)
lib/python/Plugins/Extensions/DLNABrowser/plugin.py
patch
|
blob
|
history
diff --git
a/lib/python/Plugins/Extensions/DLNABrowser/plugin.py
b/lib/python/Plugins/Extensions/DLNABrowser/plugin.py
index
b6fa471
..
884b5a0
100644
(file)
--- 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()