fix
This commit is contained in:
parent
bb92a30cb2
commit
476d6d86cf
1 changed files with 1 additions and 2 deletions
|
@ -24,7 +24,6 @@ const MusicKitInterop = {
|
|||
/** wsapi */
|
||||
|
||||
MusicKit.getInstance().addEventListener(MusicKit.Events.nowPlayingItemDidChange, async () => {
|
||||
await MusicKitInterop.modifyNamesOnLocale();
|
||||
const attributes = MusicKitInterop.getAttributes()
|
||||
const trackFilter = MusicKitInterop.filterTrack(attributes, false, true)
|
||||
|
||||
|
@ -33,7 +32,7 @@ const MusicKitInterop = {
|
|||
}
|
||||
|
||||
// LastFM's Custom Call
|
||||
// await MusicKitInterop.modifyNamesOnLocale();
|
||||
await MusicKitInterop.modifyNamesOnLocale();
|
||||
if (trackFilter || !app.cfg.lastfm.filterLoop) {
|
||||
global.ipcRenderer.send('nowPlayingItemDidChangeLastFM', attributes);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue