mirror of
https://github.com/beetbox/beets.git
synced 2025-12-28 11:32:30 +01:00
changelog & style tweaks for #686
This commit is contained in:
parent
02036dd480
commit
fc143ecd54
2 changed files with 5 additions and 5 deletions
|
|
@ -1161,7 +1161,7 @@ def modify_parse_args(args):
|
|||
mods.append(arg)
|
||||
else:
|
||||
query.append(arg)
|
||||
return (query, mods, dels)
|
||||
return query, mods, dels
|
||||
|
||||
modify_cmd = ui.Subcommand('modify',
|
||||
help='change metadata fields', aliases=('mod',))
|
||||
|
|
@ -1178,10 +1178,7 @@ modify_cmd.parser.add_option('-y', '--yes', action='store_true',
|
|||
modify_cmd.parser.add_option('-f', '--format', action='store',
|
||||
help='print with custom format', default=None)
|
||||
def modify_func(lib, opts, args):
|
||||
args = decargs(args)
|
||||
|
||||
(query, mods, dels) = modify_parse_args(args)
|
||||
|
||||
query, mods, dels = modify_parse_args(decargs(args))
|
||||
if not mods and not dels:
|
||||
raise ui.UserError('no modifications specified')
|
||||
write = opts.write if opts.write is not None else \
|
||||
|
|
|
|||
|
|
@ -46,6 +46,9 @@ Fixes:
|
|||
* On Windows, paths on network shares (UNC paths) no longer cause "invalid
|
||||
filename" errors.
|
||||
* :doc:`/plugins/replaygain`: Fix crashes when attempting to log errors.
|
||||
* The :ref:`modify-cmd` command can now accept query arguments that contain =
|
||||
signs. An argument is considered a query part when a : appears before any
|
||||
=s. Thanks to mook.
|
||||
|
||||
.. _enum34: https://pypi.python.org/pypi/enum34
|
||||
.. _enum: https://docs.python.org/3.4/library/enum.html
|
||||
|
|
|
|||
Loading…
Reference in a new issue