setting up files for new caching method
This commit is contained in:
parent
ee2b332350
commit
9ffc065772
3 changed files with 86 additions and 13 deletions
|
@ -103,10 +103,10 @@ Array.prototype.limit = function (n) {
|
|||
const store = new Vuex.Store({
|
||||
state: {
|
||||
library: {
|
||||
songs: [],
|
||||
albums: [],
|
||||
recentlyAdded: [],
|
||||
playlists: []
|
||||
songs: ipcRenderer.sendSync("get-library-songs"),
|
||||
albums: ipcRenderer.sendSync("get-library-albums"),
|
||||
recentlyAdded: ipcRenderer.sendSync("get-library-recentlyAdded"),
|
||||
playlists: ipcRenderer.sendSync("get-library-playlists")
|
||||
},
|
||||
artwork: {
|
||||
playerLCD: ""
|
||||
|
@ -2856,6 +2856,7 @@ const app = new Vue({
|
|||
menus.normal.items = menus.normal.items.concat(this.contextExt.normal)
|
||||
}
|
||||
}
|
||||
|
||||
// isLibrary = await app.inLibrary([this.mk.nowPlayingItem])
|
||||
// console.warn(isLibrary)
|
||||
// if(isLibrary.length != 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue