lastfm annoying
This commit is contained in:
parent
93666366a5
commit
720970b2e2
2 changed files with 10 additions and 17 deletions
|
@ -38,8 +38,10 @@ const MusicKitInterop = {
|
|||
const attributes = MusicKitInterop.getAttributes();
|
||||
attributes.primaryArtist = app.cfg.connectivity.lastfm.remove_featured ? await this.fetchPrimaryArtist() : attributes.artistName;
|
||||
|
||||
global.ipcRenderer.send("nowPlayingItemDidChange", attributes);
|
||||
|
||||
if (MusicKitInterop.filterTrack(attributes, false, true)) {
|
||||
global.ipcRenderer.send("nowPlayingItemDidChange", attributes);
|
||||
global.ipcRenderer.send("lastfm:FilteredNowPlayingItemDidChange", attributes);
|
||||
} else if (attributes.name !== "no-title-found" && attributes.playParams.id !== "no-id-found") {
|
||||
global.ipcRenderer.send("lastfm:nowPlayingChange", attributes);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue