state machine based playlist parsing working correct