mirror of
https://github.com/beetbox/beets.git
synced 2025-12-28 11:32:30 +01:00
convert: Fix problem with "threads" config option
This commit is contained in:
parent
4f164fb83e
commit
492f168124
1 changed files with 2 additions and 2 deletions
|
|
@ -122,8 +122,8 @@ def convert_func(lib, config, opts, args):
|
|||
class ConvertPlugin(BeetsPlugin):
|
||||
def configure(self, config):
|
||||
conf['dest'] = ui.config_val(config, 'convert', 'dest', None)
|
||||
conf['threads'] = ui.config_val(config, 'convert', 'threads',
|
||||
util.cpu_count())
|
||||
conf['threads'] = int(ui.config_val(config, 'convert', 'threads',
|
||||
util.cpu_count()))
|
||||
conf['flac'] = ui.config_val(config, 'convert', 'flac', 'flac')
|
||||
conf['lame'] = ui.config_val(config, 'convert', 'lame', 'lame')
|
||||
conf['opts'] = ui.config_val(config, 'convert',
|
||||
|
|
|
|||
Loading…
Reference in a new issue