From 124b5c641086df630de1e39982574519a0174d0c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20F=C3=A4hrmann?= Date: Wed, 29 Jun 2022 22:35:34 +0200 Subject: [PATCH] [postprocessor:ugoira] enable 'mtime' by default (#2714) --- docs/configuration.rst | 2 +- gallery_dl/option.py | 2 +- gallery_dl/postprocessor/ugoira.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/configuration.rst b/docs/configuration.rst index 4b23e132..a009208b 100644 --- a/docs/configuration.rst +++ b/docs/configuration.rst @@ -3567,7 +3567,7 @@ ugoira.mtime Type ``bool`` Default - ``false`` + ``true`` Description Set modification times of generated ugoira aniomations. diff --git a/gallery_dl/option.py b/gallery_dl/option.py index bd61b74d..2e996918 100644 --- a/gallery_dl/option.py +++ b/gallery_dl/option.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- -# Copyright 2017-2021 Mike Fährmann +# Copyright 2017-2022 Mike Fährmann # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2 as diff --git a/gallery_dl/postprocessor/ugoira.py b/gallery_dl/postprocessor/ugoira.py index 0b4c2599..98c82468 100644 --- a/gallery_dl/postprocessor/ugoira.py +++ b/gallery_dl/postprocessor/ugoira.py @@ -35,7 +35,7 @@ class UgoiraPP(PostProcessor): self.output = options.get("ffmpeg-output", True) self.delete = not options.get("keep-files", False) self.repeat = options.get("repeat-last-frame", True) - self.mtime = options.get("mtime") + self.mtime = options.get("mtime", True) ffmpeg = options.get("ffmpeg-location") self.ffmpeg = util.expand_path(ffmpeg) if ffmpeg else "ffmpeg"