Fix HTML playlists

As a side effect also fixes #663 for playlists