Changed dont_convert to no_convert.

This commit is contained in:
Aaron Jubbal 2017-11-29 20:08:50 -08:00
parent 0998d9f8ef
commit e24f732014
2 changed files with 5 additions and 5 deletions

View file

@ -94,9 +94,9 @@ def should_transcode(item, fmt):
"""Determine whether the item should be transcoded as part of
conversion (i.e., its bitrate is high or it has the wrong format).
"""
dont_convert_queries = config['convert']['dont_convert'].as_str_seq()
if dont_convert_queries:
for query_string in dont_convert_queries:
no_convert_queries = config['convert']['no_convert'].as_str_seq()
if no_convert_queries:
for query_string in no_convert_queries:
query, _ = parse_query_string(query_string, Item)
if query.match(item):
return False
@ -141,7 +141,7 @@ class ConvertPlugin(BeetsPlugin):
u'quiet': False,
u'embed': True,
u'paths': {},
u'dont_convert': u'',
u'no_convert': u'',
u'never_convert_lossy_files': False,
u'copy_album_art': False,
u'album_art_maxwidth': 0,

View file

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