Skip to content

Commit

Permalink
Update convert.py
Browse files Browse the repository at this point in the history
  • Loading branch information
frigginbrownie authored Dec 19, 2024
1 parent 9110a11 commit 0c1abb0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions beetsplug/convert.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)]

Check failure on line 259 in beetsplug/convert.py

View workflow job for this annotation

GitHub Actions / Check linting

Ruff (W293)

beetsplug/convert.py:259:1: W293 Blank line contains whitespace
self._parallel_convert(
dest,
False,
Expand Down

0 comments on commit 0c1abb0

Please sign in to comment.