#NEWLINE# def _durationToSeconds( self , dur ) : #NEWLINE# #INDENT# parts = dur . split ( ':' ) #NEWLINE# return ( ( ( int ( parts [ 0 ] ) * 3600 ) + ( int ( parts [ 1 ] ) * 60 ) ) + int ( parts [ 2 ] ) )