(self, position_percentage)
Run in thread.
        See set_start_position in BaseMediaBackend
        
        Max retries is 5, Plex seems to wait longer before media is played
        due to buffering.
Run in thread.
        See set_start_position in BaseMediaBackend
        
        Max retries is 5, Plex seems to wait longer before media is played
        due to buffering.
Run in thread . See set_start_position in BaseMediaBackend Max retries is 5 Plex seems to wait longer before media is played due to buffering .
def _set_start_position(self, position_percentage):
        """
        Run in thread.
        See set_start_position in BaseMediaBackend
        
        Max retries is 5, Plex seems to wait longer before media is played
        due to buffering.
        """
        for i in range(5):
            response = self.set_player_position_percentage(position_percentage)
            if 'error' in response and response['error']:
                self.log.debug('Setting start position failed: %s', response)
                time.sleep(1)
                continue

            self.log.debug('Setting start position succeeded')    
            return

        self.log.warning('Failed to set start position')
def _set_start_position ( self , position_percentage ) : for i in range ( 5 ) : response = self . set_player_position_percentage ( position_percentage ) if 'error' in response and response [ 'error' ] : self . log . debug ( 'Setting start position failed: %s' , response ) time . sleep ( 1 ) continue self . log . debug ( 'Setting start position succeeded' ) return self . log . warning ( 'Failed to set start position' )