import PropTypes from 'prop-types'; import React from 'react'; import FieldSet from 'Components/FieldSet'; import Form from 'Components/Form/Form'; import FormGroup from 'Components/Form/FormGroup'; import FormInputGroup from 'Components/Form/FormInputGroup'; import FormLabel from 'Components/Form/FormLabel'; import LoadingIndicator from 'Components/Loading/LoadingIndicator'; import { inputTypes } from 'Helpers/Props'; import translate from 'Utilities/String/translate'; const writeAudioTagOptions = [ { key: 'sync', value: 'All files; keep in sync with MusicBrainz' }, { key: 'allFiles', value: 'All files; initial import only' }, { key: 'newFiles', value: 'For new downloads only' }, { key: 'no', value: 'Never' } ]; function MetadataProvider(props) { const { advancedSettings, isFetching, error, settings, hasSettings, onInputChange } = props; return (