filter loop fixes

This commit is contained in:
Core 2022-06-16 16:14:53 +01:00
parent 7850493c9e
commit 742e606c09
No known key found for this signature in database
GPG key ID: FE9BF1B547F8F3C6
3 changed files with 14 additions and 4 deletions

View file

@ -29,6 +29,8 @@ const MusicKitInterop = {
global.ipcRenderer.send('nowPlayingItemDidChange', attributes);
}
global.ipcRenderer.send('lastfm:nowPlayingChange', attributes);
if (MusicKit.getInstance().nowPlayingItem) {
await this.sleep(750);
MusicKit.getInstance().playbackRate = app.cfg.audio.playbackRate;