Пример #1
0
    def dock(self):
        logger.debug('dock()')
        self.mpvgoom.mode = MpvMode.DOCK

        if rc.app() != self.player.eventhandler:
            rc.app(self.player)

        self.mpvgoom.set_dock()
        if not self.player.playerGUI.visible:
            osd.active = True
            skin.resume()
            self.player.playerGUI.show()
Пример #2
0
    def stop_visual(self):
        logger.debug('%s.stop_visual() self.view=%r self.succession=%r', self.__class__, 
self.view, self.player.playerGUI.succession)

        self.timer.stop()
        if self.mpvgoom is not None:
            logger.debug('self.mpvgoom.running=%r -> False', self.mpvgoom.running)
            self.mpvgoom.timer.stop()
            self.mpvgoom.running = False
            self.mpvgoom.remove()
            self.mpvgoom = None
            self.goom = None
        osd.active = True
        skin.resume()
Пример #3
0
    def noview(self):
        logger.debug('noview()')

        self.mpvgoom.mode = MpvMode.NOVI

        if rc.app() != self.player.eventhandler:
            rc.app(self.player)

        if self.mpvgoom is not None:
            self.stop_visual()

        if not self.player.playerGUI.visible:
            osd.active = True
            skin.resume()
            self.player.playerGUI.show()