fix this
This commit is contained in:
parent
62858b5fe4
commit
a4fc6b0848
1 changed files with 0 additions and 16 deletions
|
@ -343,15 +343,9 @@ const app = new Vue({
|
|||
|
||||
// load last played track
|
||||
try {
|
||||
<<<<<<< HEAD
|
||||
let lastItem = window.localStorage.getItem("currentTrack")
|
||||
let time = window.localStorage.getItem("currentTime")
|
||||
let queue = window.localStorage.getItem("currentQueue")
|
||||
=======
|
||||
lastItem = window.localStorage.getItem("currentTrack")
|
||||
time = window.localStorage.getItem("currentTime")
|
||||
queue = window.localStorage.getItem("currentQueue")
|
||||
>>>>>>> 7322c71... save last played track, time and queue
|
||||
if (lastItem != null) {
|
||||
lastItem = JSON.parse(lastItem)
|
||||
var kind = lastItem.attributes.playParams.kind;
|
||||
|
@ -371,15 +365,9 @@ const app = new Vue({
|
|||
let ids = queue.map ( e => (e.playParams ? e.playParams.id : (e.attributes.playParams ? e.attributes.playParams.id : '') ))
|
||||
if (ids.length > 0) {
|
||||
for (id of ids){
|
||||
<<<<<<< HEAD
|
||||
try{
|
||||
app.mk.playLater({songs: [id] })
|
||||
} catch (err){}
|
||||
=======
|
||||
try{
|
||||
app.mk.playLater({songs: [id] })
|
||||
} catch (err){}
|
||||
>>>>>>> 7322c71... save last played track, time and queue
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -387,11 +375,7 @@ const app = new Vue({
|
|||
|
||||
})
|
||||
|
||||
<<<<<<< HEAD
|
||||
})},1500)
|
||||
=======
|
||||
})},1000)
|
||||
>>>>>>> 7322c71... save last played track, time and queue
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue