'Stop playing.'

def stop(self):

    if (self.get_state() != PlaybackState.STOPPED):
        self._last_position = self.get_time_position()
        backend = self._get_backend(self.get_current_tl_track())
        if ((not backend) or backend.playback.stop().get()):
            self.set_state(PlaybackState.STOPPED)
