Revert "Revert "LastFM can be unique and have its own call""
This reverts commit f156083d48
.
This commit is contained in:
parent
604ef16db8
commit
cb82ff482d
3 changed files with 8 additions and 2 deletions
|
@ -25,8 +25,10 @@ const MusicKitInterop = {
|
|||
MusicKit.getInstance().addEventListener(MusicKit.Events.nowPlayingItemDidChange, async () => {
|
||||
// await MusicKitInterop.modifyNamesOnLocale();
|
||||
if (MusicKitInterop.filterTrack(MusicKitInterop.getAttributes(), false, true) || !app.cfg.lastfm.filterLoop) {
|
||||
global.ipcRenderer.send('nowPlayingItemDidChange', MusicKitInterop.getAttributes());
|
||||
global.ipcRenderer.send('lfmItemChange', MusicKitInterop.getAttributes());
|
||||
}
|
||||
|
||||
global.ipcRenderer.send('nowPlayingItemDidChange', MusicKitInterop.getAttributes());
|
||||
});
|
||||
|
||||
MusicKit.getInstance().addEventListener(MusicKit.Events.authorizationStatusDidChange, () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue