test
This commit is contained in:
parent
5f78adabc7
commit
5d3853d208
5 changed files with 217 additions and 127 deletions
|
@ -3500,7 +3500,15 @@ const app = new Vue({
|
|||
console.log(truekind, id)
|
||||
|
||||
try {
|
||||
if (app.library.songs.displayListing.length > childIndex && parent == "librarysongs") {
|
||||
if (parent == 'playlist:ciderlocal'){
|
||||
let u = app.library.localsongs.map(i => {return i.id})
|
||||
app.mk.setQueue({"episodes" : u}).then(()=>{
|
||||
let id = app.mk.queue._itemIDs.findIndex(element => element == item.id);
|
||||
app.mk.changeToMediaAtIndex(id)
|
||||
})
|
||||
|
||||
}
|
||||
else if (app.library.songs.displayListing.length > childIndex && parent == "librarysongs") {
|
||||
console.log(item)
|
||||
if (item && ((app.library.songs.displayListing[childIndex].id != item.id))) {
|
||||
childIndex = app.library.songs.displayListing.indexOf(item)
|
||||
|
@ -3804,7 +3812,7 @@ const app = new Vue({
|
|||
type += "s"
|
||||
}
|
||||
type = type.replace("library-", "")
|
||||
let id = item.attributes.playParams.catalogId ?? item.attributes.playParams.id ?? item.id
|
||||
let id = item.attributes.playParams?.catalogId ?? item.attributes.playParams.id ?? item.id
|
||||
|
||||
let index = types.findIndex(function (type) {
|
||||
return type.type == this
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue