Fix Python3 compatibility issue in song playback.