(self)
return None, None
Get the current videoplayer positon.
        @returns int current position, int total length
Get the current videoplayer positon.
Get the current videoplayer positon .
def get_player_position(self):
        """
        Get the current videoplayer positon.
        @returns int current position, int total length
        """
        response, error = self._jsonrpc_api_request('videoplayer.gettime')
        
        if not error:
            if 'time' in response:
                return int(response['time']), int(response['total'])

        return None, None
def get_player_position ( self ) : response , error = self . _jsonrpc_api_request ( 'videoplayer.gettime' ) if not error : if 'time' in response : return int ( response [ 'time' ] ) , int ( response [ 'total' ] ) return None , None