Navigation: Second try to fix, now check for Infobarinstance
authorLittlesat <littlesat99@yahoo.com>
Sun, 29 Jul 2012 12:22:39 +0000 (14:22 +0200)
committerLittlesat <littlesat99@yahoo.com>
Sun, 29 Jul 2012 12:22:39 +0000 (14:22 +0200)
Navigation.py

index 2547ec9..7da7709 100644 (file)
@@ -83,9 +83,9 @@ class Navigation:
                        if self.pnav:
                                self.pnav.stopService()
                                self.currentlyPlayingServiceReference = playref
-                               CurrentServiceList = InfoBar.instance.servicelist
-                               if CurrentServiceList is not None:
-                                       CurrentServiceList.servicelist.setCurrent(playref)
+                               InfoBarInstance = InfoBar.instance
+                               if InfoBarInstance is not None:
+                                       InfoBarInstance.servicelist.servicelist.setCurrent(playref)
                                if self.pnav.playService(playref):
                                        print "Failed to start", playref
                                        self.currentlyPlayingServiceReference = None