platypush/plugins/media/kodi/__init__.py
def pause(self, player_id=None, *args, **kwargs):
        """
        Play/pause the current media
        """

        if player_id is None:
            player_id = self._get_player_id()
        if player_id is None:
            return None, 'No active players found'

        result = self._get_kodi().Player.PlayPause(playerid=player_id)
        return self._build_result(result)

        Play/pause the current media
        
Play/pause the current media
Play / pause the current media
def pause(self, player_id=None, *args, **kwargs):
        if player_id is None:
            player_id = self._get_player_id()
        if player_id is None:
            return None, 'No active players found'
        result = self._get_kodi().Player.PlayPause(playerid=player_id)
        return self._build_result(result)
def pause ( self , player_id = None , * args , ** kwargs ) : if player_id is None : player_id = self . _get_player_id ( ) if player_id is None : return None , 'No active players found' result = self . _get_kodi ( ) . Player . PlayPause ( playerid = player_id ) return self . _build_result ( result )
Play/pause the current media
Play / pause the current media
"""
        Play/pause the current media
        """
self
player_id