spotify/cocoalibspotify — pull request #36 by esset09 (2012-01-18 09:30:31+00:00)
Title: Ensured no apps will crash due to corrupt playlist structure

Instead of raising an exception when a corrupt playlist structure is found (i.e. when no closing folder tag is found), I'm returning a subclass of `SPPlaylist`. This allows each client to handle the case as it pleases.

I've tested the fix for a few days and it seems to work fine, without affecting anything else (as far as I can tell).

Feel free to comment on the solution.