From 42960cb96eafee59a9c577d909eecf37ab956549 Mon Sep 17 00:00:00 2001 From: Jonathan Bernard Date: Mon, 4 Apr 2016 07:31:41 -0500 Subject: [PATCH] CLI: Bugfix in remove command logic. --- .../groovy/com/jdbernard/wdiwtlt/cli/CommandLineInterface.groovy | 1 + 1 file changed, 1 insertion(+) diff --git a/cli/src/main/groovy/com/jdbernard/wdiwtlt/cli/CommandLineInterface.groovy b/cli/src/main/groovy/com/jdbernard/wdiwtlt/cli/CommandLineInterface.groovy index 7cd25b0..5fc64bd 100644 --- a/cli/src/main/groovy/com/jdbernard/wdiwtlt/cli/CommandLineInterface.groovy +++ b/cli/src/main/groovy/com/jdbernard/wdiwtlt/cli/CommandLineInterface.groovy @@ -690,6 +690,7 @@ Configuration: if (m[0][1] != 'selection') selection = select(m[0][1], selection) if (!selection) err 'Nothing was selected to be removed.' + Playlist p if (removeFrom == 'queue') p = playQueue else if (removeFrom.startsWith('playlist')) { String[] parts = removeFrom.split(/\s/, 2)