New: Add Metadata Source URL option in UI settings

This commit is contained in:
kevcenteno 2025-07-08 11:10:52 -04:00
commit 005c4de246
2 changed files with 21 additions and 0 deletions

View file

@ -19,6 +19,7 @@ const writeAudioTagOptions = [
function MetadataProvider(props) { function MetadataProvider(props) {
const { const {
advancedSettings,
isFetching, isFetching,
error, error,
settings, settings,
@ -92,6 +93,24 @@ function MetadataProvider(props) {
/> />
</FormGroup> </FormGroup>
<FormGroup
advancedSettings={advancedSettings}
isAdvanced={true}
>
<FormLabel>
{translate('MetadataSourceUrl')}
</FormLabel>
<FormInputGroup
type={inputTypes.TEXT}
name="metadataSource"
helpText={translate('MetadataSourceUrlHelpText')}
onChange={onInputChange}
placeholder="https://api.lidarr.audio/api/v0.4/"
{...settings.metadataSource}
/>
</FormGroup>
</FieldSet> </FieldSet>
</Form> </Form>
} }

View file

@ -741,6 +741,8 @@
"MetadataProfiles": "Metadata Profiles", "MetadataProfiles": "Metadata Profiles",
"MetadataSettings": "Metadata Settings", "MetadataSettings": "Metadata Settings",
"MetadataSettingsArtistSummary": "Create metadata files when tracks are imported or artist are refreshed", "MetadataSettingsArtistSummary": "Create metadata files when tracks are imported or artist are refreshed",
"MetadataSourceUrl": "Metadata Source URL",
"MetadataSourceUrlHelpText": "The URL for the metadata source to use for additional information.",
"Min": "Min", "Min": "Min",
"MinFormatScoreHelpText": "Minimum custom format score allowed to download", "MinFormatScoreHelpText": "Minimum custom format score allowed to download",
"MinimumAge": "Minimum Age", "MinimumAge": "Minimum Age",