1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-07-04 11:07:59 +02:00

Fixed: Minimum refresh interval for import list presets

This commit is contained in:
Bogdan 2023-11-21 19:52:58 +02:00
parent b4562e6236
commit 6b9a378eaf
3 changed files with 5 additions and 1 deletions

View File

@ -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 = '';

View File

@ -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" },
};
}

View File

@ -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" },
};
}