diff --git a/beetsplug/convert.py b/beetsplug/convert.py index bb2aeae24..380061248 100644 --- a/beetsplug/convert.py +++ b/beetsplug/convert.py @@ -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, diff --git a/docs/plugins/convert.rst b/docs/plugins/convert.rst index 527bc5d01..a631f7891 100644 --- a/docs/plugins/convert.rst +++ b/docs/plugins/convert.rst @@ -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