Added a section to parse the playlist, and did some basic error checking/debugging