#NEWLINE# def logTrack( self , title , artist , album , time , startTime ) : #NEWLINE# #INDENT# fh = open ( self . nowPlayingFilePath , 'w' ) #NEWLINE# fh . write ( ( ( 'Title: ' + title ) + '\n' ) ) #NEWLINE# fh . write ( ( ( 'Artist: ' + artist ) + '\n' ) ) #NEWLINE# fh . write ( ( ( 'Album: ' + album ) + '\n' ) ) #NEWLINE# fh . write ( ( ( 'Time: ' + time ) + '\n' ) ) #NEWLINE# fh . close ( )