File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 1616"""Converts tracks or albums to external directory
1717"""
1818from __future__ import division , absolute_import , print_function
19+ from beets .util import par_map
1920
2021import os
2122import threading
@@ -183,8 +184,8 @@ def commands(self):
183184
184185 def auto_convert (self , config , task ):
185186 if self .config ['auto' ]:
186- for item in task . imported_items ():
187- self . convert_on_import ( config . lib , item )
187+ par_map ( lambda item : self . convert_on_import ( config . lib , item ),
188+ task . imported_items () )
188189
189190 # Utilities converted from functions to methods on logging overhaul
190191
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ Changelog
66
77New features:
88
9+ * conversion uses par_map to parallelize conversion jobs in python3
910* Add ``title_case `` config option to lastgenre to make TitleCasing optional.
1011* When config is printed with no available configuration a new message is printed.
1112 :bug: `3779 `
You can’t perform that action at this time.
0 commit comments