got rid of Error that uses new unnecessarily in playlist.cpp