From 1413a842f7cffe7e59b520b60801dcdf2aca0b2a Mon Sep 17 00:00:00 2001 From: Adrian Sampson Date: Sat, 22 Feb 2014 00:51:05 -0500 Subject: [PATCH] update: restore "deleted" indication --- beets/ui/commands.py | 1 + docs/changelog.rst | 7 ++++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/beets/ui/commands.py b/beets/ui/commands.py index 97ab4d6c2..a56503a27 100644 --- a/beets/ui/commands.py +++ b/beets/ui/commands.py @@ -967,6 +967,7 @@ def update_items(lib, query, album, move, pretend): # Item deleted? if not os.path.exists(syspath(item.path)): ui.print_obj(item, lib) + ui.print_(ui.colorize('red', u' deleted')) if not pretend: item.remove(True) affected_albums.add(item.album_id) diff --git a/docs/changelog.rst b/docs/changelog.rst index 7e462a432..71fdda58c 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -19,9 +19,8 @@ consequences for all users are: * The :ref:`modify-cmd` command is now better at parsing and formatting fields. You can assign to boolean fields like ``comp``, for example, using either the words "true" or "false" or the numerals 1 and 0. Any - boolean-esque value is normalized to a real boolean. -* The :ref:`modify-cmd`, :ref:`update-cmd`, and :ref:`write-cmd` commands - should all show more readable, better-colorized output to indicate metadata + boolean-esque value is normalized to a real boolean. The :ref:`update-cmd` + and :ref:`write-cmd` commands also got smarter at formatting and colorizing changes. For developers, the short version of the story is that Item and Album objects @@ -93,6 +92,8 @@ Other little fixes: returned by Last.fm. * :doc:`/plugins/mpdstats`: Restore the ``last_played`` field. Thanks to Johann Klähn. +* The :ref:`modify-cmd` command's output now clearly shows when a file has + been deleted. 1.3.2 (December 22, 2013)