From a4472c0ded30fda477f932a4fd5a75610541e7e1 Mon Sep 17 00:00:00 2001 From: MrS0m30n3 Date: Sun, 14 Jan 2018 15:56:04 +0200 Subject: [PATCH] Add option to disable update --- youtube_dl_gui/optionsmanager.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/youtube_dl_gui/optionsmanager.py b/youtube_dl_gui/optionsmanager.py index a36b64e..7287ca2 100644 --- a/youtube_dl_gui/optionsmanager.py +++ b/youtube_dl_gui/optionsmanager.py @@ -232,6 +232,8 @@ class OptionsManager(object): add_metadata (boolean): When True will write metadata to file. + disable_update (boolean): When True the update process will be disabled. + """ #REFACTOR Remove old options & check options validation self.options = { @@ -297,7 +299,8 @@ class OptionsManager(object): 'confirm_deletion': True, 'nomtime': False, 'embed_thumbnail': False, - 'add_metadata': False + 'add_metadata': False, + 'disable_update': False } def load_from_file(self):