If you like to curate your music using the famously flexible free player Foobar2000, yet you’d like to import your playlists to do some DJ-ing using the free Mixxx software, you’ve probably noticed it won’t import Foobar2000 playlists in the best common format, M3U8.
This is because Foobar2000 doesn’t insert the expected #EXTM3U and #EXTINF tags in the file.
I have written a little Python program (Python 3) to put the tags in for you. Put the program somewhere in your PATH, call the program, and use the name of your playlist as its only argument:
> python playlistfix.py 'VERY COOL MUSIC.m3u8'
You can download it here.