From 6d93f0e13517fead838bb83e4f630f7d0fe3e60c Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Thu, 24 Aug 2023 17:31:51 +0200 Subject: [PATCH] 'skip_when_checksum_same': should be False so that 'FilterNotFoundInResponse' can be checked --- changedetectionio/__init__.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/changedetectionio/__init__.py b/changedetectionio/__init__.py index 25329ae9..6128a612 100644 --- a/changedetectionio/__init__.py +++ b/changedetectionio/__init__.py @@ -1255,6 +1255,9 @@ def changedetection_app(config=None, datastore_o=None): @app.route("/api/checknow", methods=['GET']) @login_optionally_required def form_watch_checknow(): + + # 'skip_when_checksum_same': should be False so that 'FilterNotFoundInResponse' can be checked + # Forced recheck will skip the 'skip if content is the same' rule (, 'reprocess_existing_data': True}))) tag = request.args.get('tag') uuid = request.args.get('uuid') @@ -1266,7 +1269,7 @@ def changedetection_app(config=None, datastore_o=None): if uuid: if uuid not in running_uuids: - update_q.put(queuedWatchMetaData.PrioritizedItem(priority=1, item={'uuid': uuid, 'skip_when_checksum_same': True})) + update_q.put(queuedWatchMetaData.PrioritizedItem(priority=1, item={'uuid': uuid, 'skip_when_checksum_same': False})) i = 1 elif tag != None: @@ -1275,7 +1278,7 @@ def changedetection_app(config=None, datastore_o=None): if (tag != None and tag in watch.get('tags', {})): if watch_uuid not in running_uuids and not datastore.data['watching'][watch_uuid]['paused']: update_q.put( - queuedWatchMetaData.PrioritizedItem(priority=1, item={'uuid': watch_uuid, 'skip_when_checksum_same': True}) + queuedWatchMetaData.PrioritizedItem(priority=1, item={'uuid': watch_uuid, 'skip_when_checksum_same': False}) ) i += 1 @@ -1283,7 +1286,7 @@ def changedetection_app(config=None, datastore_o=None): # No tag, no uuid, add everything. for watch_uuid, watch in datastore.data['watching'].items(): if watch_uuid not in running_uuids and not datastore.data['watching'][watch_uuid]['paused']: - update_q.put(queuedWatchMetaData.PrioritizedItem(priority=1, item={'uuid': watch_uuid, 'skip_when_checksum_same': True})) + update_q.put(queuedWatchMetaData.PrioritizedItem(priority=1, item={'uuid': watch_uuid, 'skip_when_checksum_same': False})) i += 1 flash("{} watches queued for rechecking.".format(i)) return redirect(url_for('index', tag=tag))