(self, input_queue, video_queue, **kwargs)
Initialise text-based interface.
Initialise text-based interface.
Initialise text - based interface .
def __init__(self, input_queue, video_queue, **kwargs):
        """Initialise text-based interface."""
        if not console:
            raise InitFailed('This interface requires a console terminal (tty).')
        VideoPlugin.__init__(self, input_queue, video_queue)
        # start the stdin thread for non-blocking reads
        self._input_handler = InputHandlerCLI(input_queue)
def __init__ ( self , input_queue , video_queue , * * kwargs ) : if not console : raise InitFailed ( 'This interface requires a console terminal (tty).' ) VideoPlugin . __init__ ( self , input_queue , video_queue ) # start the stdin thread for non-blocking reads self . _input_handler = InputHandlerCLI ( input_queue )