fix crash when handling empty playlist

ignore playlist that are empty