mirror of
https://github.com/beetbox/beets.git
synced 2026-01-06 16:02:53 +01:00
helpful message when there's nothing to delete
This commit is contained in:
parent
d23565b040
commit
a0f80f4c12
1 changed files with 4 additions and 0 deletions
|
|
@ -295,6 +295,10 @@ def remove_items(lib, query, album, delete=False):
|
|||
else:
|
||||
items = list(lib.items(query=query))
|
||||
|
||||
if not items:
|
||||
print 'No matching items found.'
|
||||
return
|
||||
|
||||
# Show all the items.
|
||||
for item in items:
|
||||
_print(item.artist + ' - ' + item.album + ' - ' + item.title)
|
||||
|
|
|
|||
Loading…
Reference in a new issue