Added protocol to delay profiles check

This commit is contained in:
Benjamin Harder
2024-04-04 07:32:10 +02:00
parent 30a52a885b
commit 7312a5a9c6

View File

@@ -25,7 +25,7 @@ def filterOutDelayedQueueItems(queue):
# Use get() method with default value "No indexer" if 'indexer' key does not exist
indexer = record.get('indexer', 'No indexer')
protocol = record.get('protocol', 'No protocol')
combination = (record['title'], indexer)
combination = (record['title'], protocol, indexer)
if record['status'] == 'delay':
if combination not in seen_combinations:
seen_combinations.add(combination)