Update CleanCacheTask.cs
This commit is contained in:
parent
9ff742013b
commit
1a8a0c799f
@ -109,7 +109,7 @@ public class CleanCacheTask : IScheduledTask
|
|||||||
var removedItems = false;
|
var removedItems = false;
|
||||||
foreach (var ignoredItem in Plugin.Instance.IgnoreList.Values.ToList())
|
foreach (var ignoredItem in Plugin.Instance.IgnoreList.Values.ToList())
|
||||||
{
|
{
|
||||||
if (!Plugin.Instance.QueuedMediaItems.ContainsKey(ignoredItem.SeasonId))
|
if (!queue.ContainsKey(ignoredItem.SeasonId))
|
||||||
{
|
{
|
||||||
removedItems = true;
|
removedItems = true;
|
||||||
Plugin.Instance.IgnoreList.TryRemove(ignoredItem.SeasonId, out _);
|
Plugin.Instance.IgnoreList.TryRemove(ignoredItem.SeasonId, out _);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user