fix (?) initial situation
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>
Tue, 6 Dec 2005 23:37:06 +0000 (23:37 +0000)
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>
Tue, 6 Dec 2005 23:37:06 +0000 (23:37 +0000)
lib/python/Screens/ChannelSelection.py

index 03182ab82526d358e9eeedd4b711efda87baaa72..9b41b2b27e93e32411816a1863bd054a84465bb1 100644 (file)
@@ -368,7 +368,7 @@ class ChannelSelection(ChannelSelectionBase, ChannelSelectionEdit):
 
        def onShow(self):
                ref = self.session.nav.getCurrentlyPlayingServiceReference()
-               if ref.valid() and ref.getPath() == "":
+               if ref != None and ref.valid() and ref.getPath() == "":
                        self.servicelist.setPlayableIgnoreService(ref)
                else:
                        self.servicelist.setPlayableIgnoreService(eServiceReference())