(self)
| 180 | self._askPlayerTimer.start(when) |
| 181 | |
| 182 | def askPlayer(self): |
| 183 | if not self._running: |
| 184 | return |
| 185 | if self._player: |
| 186 | self._player.askForStatus() |
| 187 | self.checkIfConnected() |
| 188 | |
| 189 | def checkIfConnected(self): |
| 190 | if self._lastGlobalUpdate and self._protocol and time.time() - self._lastGlobalUpdate > constants.PROTOCOL_TIMEOUT: |
no test coverage detected