This is awesome. I'm trying this out locally now, attached is a debdiff for putting those patches in the current Debian package.
-- Jonathan Dowland Please do not CC me, I am subscribed to the list.
diff -Nru lazygal-0.8.8/debian/changelog lazygal-0.8.8/debian/changelog --- lazygal-0.8.8/debian/changelog 2014-10-29 09:29:44.000000000 +0000 +++ lazygal-0.8.8/debian/changelog 2016-10-11 15:28:51.000000000 +0100 @@ -1,3 +1,11 @@ +lazygal (0.8.8-2.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Two upstream patches to fix messages output when --quiet is + supplied. Closes: #836697. + + -- Jonathan Dowland <[email protected]> Tue, 11 Oct 2016 15:28:51 +0100 + lazygal (0.8.8-2) unstable; urgency=medium * Fixed gstreamer dependencies. diff -Nru lazygal-0.8.8/debian/patches/3e8242cc0f9b lazygal-0.8.8/debian/patches/3e8242cc0f9b --- lazygal-0.8.8/debian/patches/3e8242cc0f9b 1970-01-01 01:00:00.000000000 +0100 +++ lazygal-0.8.8/debian/patches/3e8242cc0f9b 2016-10-11 15:28:51.000000000 +0100 @@ -0,0 +1,28 @@ +Description: adjust logging level for some messages + based on hg changeset 3e8242cc0f9bcbf771df6f676009fb89a6bc0fd6 but adjusted + for fuzz etc +Author: Alexandre Rossi <[email protected]> +Bug-Debian: https://bugs.debian.org/836697 + +--- lazygal-0.8.8.orig/lazygal/generators.py ++++ lazygal-0.8.8/lazygal/generators.py +@@ -764,16 +764,16 @@ class Album(object): + self.source_dir = os.path.abspath(source_dir) + + if not mediautils.HAVE_GST: +- logging.warning(_('Video support is disabled: could not load GStreamer')) ++ logging.debug(_('Video support is disabled: could not load GStreamer')) + + self.config = LazygalConfig() + +- logging.info(_("Trying loading user config %s"), USER_CONFIG_PATH) ++ logging.debug(_("Trying loading user config %s"), USER_CONFIG_PATH) + self.config.read(USER_CONFIG_PATH) + + sourcedir_configfile = os.path.join(source_dir, SOURCEDIR_CONFIGFILE) + if os.path.isfile(sourcedir_configfile): +- logging.info(_("Loading root config %s"), sourcedir_configfile) ++ logging.debug(_("Loading root config %s"), sourcedir_configfile) + try: + self.config.read(sourcedir_configfile) + except LazygalConfigDeprecated: diff -Nru lazygal-0.8.8/debian/patches/f5b1655f4df7 lazygal-0.8.8/debian/patches/f5b1655f4df7 --- lazygal-0.8.8/debian/patches/f5b1655f4df7 1970-01-01 01:00:00.000000000 +0100 +++ lazygal-0.8.8/debian/patches/f5b1655f4df7 2016-10-11 15:28:51.000000000 +0100 @@ -0,0 +1,41 @@ +Description: only warn about missing video if video requested + Based on f5b1655f4df718bad12d9744e555ed6618e25c92 from upstream + hg but adjusted for fuzz etc +Author: Alexandre Rossi <[email protected]> +Bug-Debian: https://bugs.debian.org/836697 + +--- lazygal-0.8.8.orig/lazygal/generators.py ++++ lazygal-0.8.8/lazygal/generators.py +@@ -763,9 +763,6 @@ class Album(object): + def __init__(self, source_dir, config=None): + self.source_dir = os.path.abspath(source_dir) + +- if not mediautils.HAVE_GST: +- logging.debug(_('Video support is disabled: could not load GStreamer')) +- + self.config = LazygalConfig() + + logging.debug(_("Trying loading user config %s"), USER_CONFIG_PATH) +--- lazygal-0.8.8.orig/lazygal/sourcetree.py ++++ lazygal-0.8.8/lazygal/sourcetree.py +@@ -225,12 +225,20 @@ class MediaHandler(object): + extension = extension.lower() + return extension in MediaHandler.FORMATS.keys() + ++ NO_VIDEO_SUPPORT_WARNING_ISSUED = False ++ ++ @staticmethod ++ def warn_no_video_support(): ++ if not MediaHandler.NO_VIDEO_SUPPORT_WARNING_ISSUED: ++ logging.warning(_('Video support is disabled: could not load GStreamer')) ++ + def get_media(self, path): + filename, extension = os.path.splitext(path) + extension = extension.lower() + if extension in MediaHandler.FORMATS.keys(): + media_class = MediaHandler.FORMATS[extension] + if media_class == VideoFile and not mediautils.HAVE_GST: ++ MediaHandler.warn_no_video_support() + return None + return media_class(path, self.album) + else: diff -Nru lazygal-0.8.8/debian/patches/series lazygal-0.8.8/debian/patches/series --- lazygal-0.8.8/debian/patches/series 1970-01-01 01:00:00.000000000 +0100 +++ lazygal-0.8.8/debian/patches/series 2016-10-11 15:28:51.000000000 +0100 @@ -0,0 +1,2 @@ +3e8242cc0f9b +f5b1655f4df7
signature.asc
Description: Digital signature

