Support for playlists

Hi

I have added support for playlists. Thanks for your work.

Cheers :)