Fix: Quotes need to be escaped in resource files.
Improve the infinite recursion detection when parsing playlists.

The parser was sometimes too strict and rejected valid playlists.