Support exporting playlists to m3u, pls
Various bugfixes, add test case for playlists