From 0c1abb00094793551a8e8bb0177c084e15c1413a Mon Sep 17 00:00:00 2001 From: frigginbrownie Date: Wed, 18 Dec 2024 22:55:05 -0600 Subject: [PATCH 1/2] Update convert.py --- beetsplug/convert.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/beetsplug/convert.py b/beetsplug/convert.py index 536acf16e3..25ed7413ea 100644 --- a/beetsplug/convert.py +++ b/beetsplug/convert.py @@ -253,6 +253,10 @@ def auto_convert_keep(self, config, task): ) = self._get_opts_and_config(empty_opts) items = task.imported_items() + + # Filter items based on should_transcode function + items = [item for item in items if should_transcode(item, fmt)] + self._parallel_convert( dest, False, From 7701f4ef235e6ed73882242ba9f25ccb0c575cf1 Mon Sep 17 00:00:00 2001 From: frigginbrownie Date: Thu, 19 Dec 2024 11:25:21 -0600 Subject: [PATCH 2/2] Update convert.py Fixed linting. --- beetsplug/convert.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beetsplug/convert.py b/beetsplug/convert.py index 25ed7413ea..e91a0f7a18 100644 --- a/beetsplug/convert.py +++ b/beetsplug/convert.py @@ -256,7 +256,7 @@ def auto_convert_keep(self, config, task): # Filter items based on should_transcode function items = [item for item in items if should_transcode(item, fmt)] - + self._parallel_convert( dest, False,