From 854a4539cb7fe5e595ec0ed5e0daa3dc2e08d184 Mon Sep 17 00:00:00 2001 From: Adrian Sampson Date: Wed, 2 Sep 2015 12:45:35 -0700 Subject: [PATCH] Fix #1588: fetchart gets PNGs, not GIFs --- beetsplug/fetchart.py | 2 +- docs/changelog.rst | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/beetsplug/fetchart.py b/beetsplug/fetchart.py index aef7c06ae..b807891e0 100644 --- a/beetsplug/fetchart.py +++ b/beetsplug/fetchart.py @@ -38,7 +38,7 @@ except ImportError: HAVE_ITUNES = False IMAGE_EXTENSIONS = ['png', 'jpg', 'jpeg'] -CONTENT_TYPES = ('image/jpeg', 'image/gif') +CONTENT_TYPES = ('image/jpeg', 'image/png') DOWNLOAD_EXTENSION = '.jpg' diff --git a/docs/changelog.rst b/docs/changelog.rst index 2352787c6..0e09d3303 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -30,6 +30,9 @@ Fixes: option. * The :ref:`list-cmd` command's help output now has a small query and format string example. Thanks to :user:`pkess`. :bug:`1582` +* :doc:`/plugins/fetchart`: The plugin now fetches PNGs but not GIFs. (It + still fetches JPEGs.) This avoids an error when trying to embed images, + since not all formats support GIFs. :bug:`1588` 1.3.14 (August 2, 2015)