#NEWLINE# def play_next( self , timer ) : #NEWLINE# #INDENT# if self . _isplaying : #NEWLINE# #INDENT# time_start = time . time ( ) #NEWLINE# deadline = ( time_start + self . play_int_sec ) #NEWLINE# self . next_slice ( ) #NEWLINE# delta = max ( ( deadline - time . time ( ) ) , 0.001 ) #NEWLINE# self . timer . set ( delta )