libxspf (formerly called libSpiff) brings XSPF playlist reading and writing support to your C++ application.