fix crash when handling empty playlist

ignore playlist that are empty
Merge pull request #16 from frodeaa/master

Fix crash when handling empty playlist