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."
This commit is contained in:
Lucas Duailibe 2014-09-03 22:52:31 -03:00
parent c0ce8c3e54
commit 5d343b1951

View file

@ -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):