Stop the player before clearing the play queue.
This commit is contained in:
parent
a2c5c13ef4
commit
451956dc4f
@ -1474,6 +1474,7 @@ Library Management:
|
|||||||
p.lastUsed = new Timestamp(new Date().time)
|
p.lastUsed = new Timestamp(new Date().time)
|
||||||
playQueue = library.update(p)
|
playQueue = library.update(p)
|
||||||
|
|
||||||
|
vlcj.mediaListPlayer.stop()
|
||||||
vlcj.mediaList.clear()
|
vlcj.mediaList.clear()
|
||||||
|
|
||||||
library.getMediaFilesWhere(playlistId: playQueue.id).each {
|
library.getMediaFilesWhere(playlistId: playQueue.id).each {
|
||||||
|
Loading…
Reference in New Issue
Block a user