Fix a bug where playlist media counts where being overwritten with stale data.
This commit is contained in:
parent
aa640bb4f9
commit
cbf01b4d73
@ -672,7 +672,7 @@ Configuration:
|
|||||||
if (selection) {
|
if (selection) {
|
||||||
List<MediaFile> mediaFiles = library.collectMediaFiles(selection)
|
List<MediaFile> mediaFiles = library.collectMediaFiles(selection)
|
||||||
playQueue = library.removeAllFromPlaylist(playQueue.id)
|
playQueue = library.removeAllFromPlaylist(playQueue.id)
|
||||||
library.addToPlaylist(playQueue.id, mediaFiles.collect { it.id })
|
playQueue = library.addToPlaylist(playQueue.id, mediaFiles.collect { it.id })
|
||||||
setPlayQueue(playQueue) }
|
setPlayQueue(playQueue) }
|
||||||
|
|
||||||
vlcj.mediaListPlayer.play()
|
vlcj.mediaListPlayer.play()
|
||||||
|
Loading…
Reference in New Issue
Block a user