Skip to content

Commit e24f732

Browse files
committed
Changed dont_convert to no_convert.
1 parent 0998d9f commit e24f732

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

beetsplug/convert.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,9 @@ def should_transcode(item, fmt):
9494
"""Determine whether the item should be transcoded as part of
9595
conversion (i.e., its bitrate is high or it has the wrong format).
9696
"""
97-
dont_convert_queries = config['convert']['dont_convert'].as_str_seq()
98-
if dont_convert_queries:
99-
for query_string in dont_convert_queries:
97+
no_convert_queries = config['convert']['no_convert'].as_str_seq()
98+
if no_convert_queries:
99+
for query_string in no_convert_queries:
100100
query, _ = parse_query_string(query_string, Item)
101101
if query.match(item):
102102
return False
@@ -141,7 +141,7 @@ def __init__(self):
141141
u'quiet': False,
142142
u'embed': True,
143143
u'paths': {},
144-
u'dont_convert': u'',
144+
u'no_convert': u'',
145145
u'never_convert_lossy_files': False,
146146
u'copy_album_art': False,
147147
u'album_art_maxwidth': 0,

docs/plugins/convert.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ file. The available options are:
7373
this does not guarantee that all converted files will have a lower
7474
bitrate---that depends on the encoder and its configuration.
7575
Default: none.
76-
- **dont_convert**: Does not transcode items matching provided query string
76+
- **no_convert**: Does not transcode items matching provided query string
7777
(see :doc:`/reference/query`). (i.e. ``format:AAC, format:WMA`` or
7878
``path::\.(m4a|wma)$``)
7979
- **never_convert_lossy_files**: Cross-conversions between lossy codecs---such

0 commit comments

Comments
 (0)