mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-19 13:10:13 -07:00
New: Add Metadata Source URL option in UI settings
This commit is contained in:
parent
91f06801ca
commit
005c4de246
2 changed files with 21 additions and 0 deletions
|
@ -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>
|
||||||
}
|
}
|
||||||
|
|
|
@ -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",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue