Make pp_get_mode_by_name_and_quality accept a constant string.