mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-03 15:26:34 +01:00
Provider Data on item and NeedsRefresh functionality for providers
This commit is contained in:
@@ -368,6 +368,12 @@ namespace MediaBrowser.Controller
|
||||
continue;
|
||||
}
|
||||
|
||||
// Skip if provider says we don't need to run
|
||||
if (!provider.NeedsRefresh(item))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
try
|
||||
{
|
||||
await provider.FetchAsync(item, item.ResolveArgs).ConfigureAwait(false);
|
||||
|
||||
Reference in New Issue
Block a user