ok?
This commit is contained in:
parent
209d3889fb
commit
9218ccc887
2 changed files with 2 additions and 2 deletions
|
@ -23,7 +23,7 @@ const MusicKitInterop = {
|
||||||
/** wsapi */
|
/** wsapi */
|
||||||
|
|
||||||
MusicKit.getInstance().addEventListener(MusicKit.Events.nowPlayingItemDidChange, async () => {
|
MusicKit.getInstance().addEventListener(MusicKit.Events.nowPlayingItemDidChange, async () => {
|
||||||
// await MusicKitInterop.modifyNamesOnLocale();
|
await MusicKitInterop.modifyNamesOnLocale();
|
||||||
if (MusicKitInterop.filterTrack(MusicKitInterop.getAttributes(), false, true) || !app.cfg.lastfm.filterLoop) {
|
if (MusicKitInterop.filterTrack(MusicKitInterop.getAttributes(), false, true) || !app.cfg.lastfm.filterLoop) {
|
||||||
global.ipcRenderer.send('nowPlayingItemDidChange', MusicKitInterop.getAttributes());
|
global.ipcRenderer.send('nowPlayingItemDidChange', MusicKitInterop.getAttributes());
|
||||||
}
|
}
|
||||||
|
|
|
@ -1094,7 +1094,7 @@ const app = new Vue({
|
||||||
let playlistId = response.id
|
let playlistId = response.id
|
||||||
this.playlists.loadingState = (!transient) ? 0 : 1
|
this.playlists.loadingState = (!transient) ? 0 : 1
|
||||||
this.showingPlaylist = response
|
this.showingPlaylist = response
|
||||||
if (!response.relationships.tracks.next) {
|
if (!response.relationships?.tracks?.next) {
|
||||||
this.playlists.loadingState = 1
|
this.playlists.loadingState = 1
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue