Add support for playlist folders when enumerating playlists

It used to crash when it encountered a playlist folder; now it gracefully handles the folders.