fix for library songs not picking the right tracks when using search, changed songs.listing to songs.displayListing
This commit is contained in:
parent
04b68ba0a7
commit
3f51b05a1a
1 changed files with 4 additions and 4 deletions
|
@ -2425,13 +2425,13 @@ const app = new Vue({
|
|||
console.log(truekind, id)
|
||||
|
||||
try {
|
||||
if (app.library.songs.listing.length > childIndex && parent == "librarysongs") {
|
||||
if (app.library.songs.displayListing.length > childIndex && parent == "librarysongs") {
|
||||
console.log(item)
|
||||
if (item && ((app.library.songs.listing[childIndex].id != item.id))) {
|
||||
childIndex = app.library.songs.listing.indexOf(item)
|
||||
if (item && ((app.library.songs.displayListing[childIndex].id != item.id))) {
|
||||
childIndex = app.library.songs.displayListing.indexOf(item)
|
||||
}
|
||||
|
||||
let query = app.library.songs.listing.map(item => new MusicKit.MediaItem(item));
|
||||
let query = app.library.songs.displayListing.map(item => new MusicKit.MediaItem(item));
|
||||
|
||||
|
||||
app.mk.stop().then(() => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue