Navigation: Current playing set to None on incorrect place
authorLittlesat <littlesat99@yahoo.com>
Tue, 7 Aug 2012 12:44:11 +0000 (14:44 +0200)
committerLittlesat <littlesat99@yahoo.com>
Tue, 7 Aug 2012 12:44:11 +0000 (14:44 +0200)
It was at stopRecordService instead in stopService

Navigation.py

index e202c67..d434641 100644 (file)
@@ -115,7 +115,6 @@ class Navigation:
 
        def stopRecordService(self, service):
                ret = self.pnav and self.pnav.stopRecordService(service)
-               self.currentlyPlayingServiceReference = None
                return ret
 
        def getRecordings(self, simulate=False):
@@ -129,6 +128,7 @@ class Navigation:
        def stopService(self):
                if self.pnav:
                        self.pnav.stopService()
+               self.currentlyPlayingServiceReference = None
 
        def pause(self, p):
                return self.pnav and self.pnav.pause(p)