mirror of
https://github.com/beetbox/beets.git
synced 2026-01-25 09:38:19 +01:00
convert: fix decision on which items to transcode
This commit is contained in:
parent
dab7ec219d
commit
887e02c2ae
1 changed files with 1 additions and 1 deletions
|
|
@ -123,7 +123,7 @@ def should_transcode(item):
|
||||||
"""
|
"""
|
||||||
maxbr = config['convert']['max_bitrate'].get(int)
|
maxbr = config['convert']['max_bitrate'].get(int)
|
||||||
format_name = config['convert']['format'].get(unicode)
|
format_name = config['convert']['format'].get(unicode)
|
||||||
return format_name.lower() == item.format.lower() or \
|
return format_name.lower() != item.format.lower() or \
|
||||||
item.bitrate >= 1000 * maxbr
|
item.bitrate >= 1000 * maxbr
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue