some fixes

This commit is contained in:
vapormusic 2021-12-20 09:04:04 +07:00
parent 8f31e15220
commit 60221d5e01
3 changed files with 7 additions and 4 deletions

View file

@ -259,7 +259,7 @@
let childIndex = this.index
console.log(item,parent,childIndex)
if (parent != null && childIndex != null) {
app.queueParentandplayChild(parent, childIndex);
app.queueParentandplayChild(parent, childIndex, item);
} else {
app.playMediaItemById(item.attributes.playParams.id ?? item.id, item.attributes.playParams.kind ?? item.type, item.attributes.playParams.isLibrary ?? false, item.attributes.url)
}