platypush/plugins/media/kodi/__init__.py
def back(self, offset=30, player_id=None, *args, **kwargs):
        """
        Move the player execution backward by delta_seconds

        :param offset: Backward seek duration (default: 30 seconds)
        :type offset: float
        :param player_id: ID of the target player (default: configured/current player).
        """

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

        position = self._get_kodi().Player.GetProperties(
            playerid=player_id, properties=['time']).get('result', {}).get('time', {})

        position = self._time_obj_to_pos(position)
        return self.seek(player_id=player_id, position=position)

        Move the player execution backward by delta_seconds

        :param offset: Backward seek duration (default: 30 seconds)
        :type offset: float
        :param player_id: ID of the target player (default: configured/current player).
        
Move the player execution backward by delta_seconds
Move the player execution backward by delta_seconds
def back(self, offset=30, 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'
        position = self._get_kodi().Player.GetProperties(
            playerid=player_id, properties=['time']).get('result', {}).get('time', {})
        position = self._time_obj_to_pos(position)
        return self.seek(player_id=player_id, position=position)
def back ( self , offset = 30 , 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' position = self . _get_kodi ( ) . Player . GetProperties ( playerid = player_id , properties = [ 'time' ] ) . get ( 'result' , { } ) . get ( 'time' , { } ) position = self . _time_obj_to_pos ( position ) return self . seek ( player_id = player_id , position = position )
Move the player execution backward by delta_seconds
Move the player execution backward by delta_seconds
"""
        Move the player execution backward by delta_seconds

        :param offset: Backward seek duration (default: 30 seconds)
        :type offset: float
        :param player_id: ID of the target player (default: configured/current player).
        """
self
offset
Backward seek duration (default: 30 seconds)
Backward seek duration ( default : 30 seconds )
player_id
ID of the target player (default: configured/current player).
ID of the target player ( default : configured / current player ) .