From 451956dc4f3c60b772729a708a642d0ddef42651 Mon Sep 17 00:00:00 2001 From: Jonathan Bernard Date: Wed, 1 Jun 2016 11:30:45 -0500 Subject: [PATCH] Stop the player before clearing the play queue. --- .../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 d71b837..384b613 100644 --- a/cli/src/main/groovy/com/jdbernard/wdiwtlt/cli/CommandLineInterface.groovy +++ b/cli/src/main/groovy/com/jdbernard/wdiwtlt/cli/CommandLineInterface.groovy @@ -1474,6 +1474,7 @@ Library Management: p.lastUsed = new Timestamp(new Date().time) playQueue = library.update(p) + vlcj.mediaListPlayer.stop() vlcj.mediaList.clear() library.getMediaFilesWhere(playlistId: playQueue.id).each {