only output something if both title and artist aren't empty