Provider Data on item and NeedsRefresh functionality for providers

This commit is contained in:
ebr11 Eric Reed spam
2012-09-17 20:06:31 -04:00
parent 9fbd88a713
commit 8b548fff38
6 changed files with 105 additions and 0 deletions

View File

@@ -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);