From 5d343b195179e80f749d0a2a2b272feb53f43f58 Mon Sep 17 00:00:00 2001 From: Lucas Duailibe Date: Wed, 3 Sep 2014 22:52:31 -0300 Subject: [PATCH] Display correct number of albums to play This fixes a bug where the output of beet play for a single album would be: "Playing 12 album." --- beetsplug/play.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beetsplug/play.py b/beetsplug/play.py index 8c04228cc..3eefec8ac 100644 --- a/beetsplug/play.py +++ b/beetsplug/play.py @@ -96,7 +96,7 @@ def play_music(lib, opts, args): if output: log.debug(u'Output of {0}: {1}'.format(command[0], output)) - ui.print_(u'Playing {0} {1}.'.format(len(paths), item_type)) + ui.print_(u'Playing {0} {1}.'.format(len(selection), item_type)) class PlayPlugin(BeetsPlugin):