mirror of
https://github.com/Radarr/Radarr
synced 2025-02-23 06:41:20 +00:00
Fixed: Minimum refresh interval for import list presets
This commit is contained in:
parent
b4562e6236
commit
6b9a378eaf
3 changed files with 5 additions and 1 deletions
|
@ -122,7 +122,7 @@ export default {
|
|||
return selectProviderSchema(state, section, payload, (selectedSchema) => {
|
||||
selectedSchema.name = payload.presetName ?? payload.implementationName;
|
||||
selectedSchema.implementationName = payload.implementationName;
|
||||
selectedSchema.minRefreshInterval = payload.minRefreshInterval;
|
||||
selectedSchema.minRefreshInterval ??= payload.minRefreshInterval;
|
||||
selectedSchema.minimumAvailability = 'released';
|
||||
selectedSchema.rootFolderPath = '';
|
||||
|
||||
|
|
|
@ -38,6 +38,7 @@ public override IEnumerable<ProviderDefinition> DefaultDefinitions
|
|||
EnableAuto = true,
|
||||
QualityProfileId = 1,
|
||||
Implementation = GetType().Name,
|
||||
MinRefreshInterval = MinRefreshInterval,
|
||||
Settings = new RSSImportSettings { Link = "https://rss.imdb.com/list/YOURLISTID" },
|
||||
};
|
||||
yield return new ImportListDefinition
|
||||
|
@ -47,6 +48,7 @@ public override IEnumerable<ProviderDefinition> DefaultDefinitions
|
|||
EnableAuto = true,
|
||||
QualityProfileId = 1,
|
||||
Implementation = GetType().Name,
|
||||
MinRefreshInterval = MinRefreshInterval,
|
||||
Settings = new RSSImportSettings { Link = "https://rss.imdb.com/user/IMDBUSERID/watchlist" },
|
||||
};
|
||||
}
|
||||
|
|
|
@ -47,6 +47,7 @@ public override IEnumerable<ProviderDefinition> DefaultDefinitions
|
|||
EnableAuto = true,
|
||||
QualityProfileId = 1,
|
||||
Implementation = GetType().Name,
|
||||
MinRefreshInterval = MinRefreshInterval,
|
||||
Settings = new IMDbListSettings { ListId = "top250" },
|
||||
};
|
||||
yield return new ImportListDefinition
|
||||
|
@ -56,6 +57,7 @@ public override IEnumerable<ProviderDefinition> DefaultDefinitions
|
|||
EnableAuto = true,
|
||||
QualityProfileId = 1,
|
||||
Implementation = GetType().Name,
|
||||
MinRefreshInterval = MinRefreshInterval,
|
||||
Settings = new IMDbListSettings { ListId = "popular" },
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue