Changelog and linting

This commit is contained in:
RollingStar 2019-01-18 17:15:29 -05:00
parent a4100a28a5
commit f5086d0bc6
2 changed files with 6 additions and 1 deletions

View file

@ -1497,10 +1497,11 @@ def move_items(lib, dest, query, copy, album, pretend, confirm=False,
isalbummoved = lambda album: any(isitemmoved(i) for i in album.items())
objs = [o for o in objs if (isalbummoved if album else isitemmoved)(o)]
num_unmoved = num_objs - len(objs)
# Report unmoved files that match the query.
unmoved_msg = u''
if num_unmoved > 0:
unmoved_msg = u' ({} already in place)'.format(num_unmoved)
copy = copy or export # Exporting always copies.
action = u'Copying' if copy else u'Moving'
act = u'copy' if copy else u'move'

View file

@ -52,6 +52,10 @@ New features:
strings, which prevents strange repeated output when running ``beet write``.
Thanks to :user:`Holzhaus`.
:bug:`3097` :bug:`2942`
* The ``move`` command now lists the number of items already in-place.
Thanks to :user:`RollingStar`.
:bug:`3117
Changes: