checks vlc title bar and write output to txt file