Clear title on save

This commit is contained in:
dgtlmoon
2025-03-27 09:59:12 +01:00
parent 694a8e2fe7
commit 3d17a85c79

View File

@@ -253,6 +253,12 @@ class ChangeDetectionStore:
url = self.data['watching'][uuid].get('url')
extras = deepcopy(self.data['watching'][uuid])
new_uuid = self.add_watch(url=url, extras=extras)
watch = self.data['watching'][new_uuid]
if self.data['settings']['application'].get('extract_title_as_title') or watch['extract_title_as_title']:
# Because it will be recalculated on the next fetch
self.data['watching'][new_uuid]['title'] = None
return new_uuid
def url_exists(self, url):