diff --git a/src/main/base/app.ts b/src/main/base/app.ts index 7e2e0678..16976b90 100644 --- a/src/main/base/app.ts +++ b/src/main/base/app.ts @@ -93,7 +93,7 @@ export class AppEvents { if (process.platform === "linux") { app.commandLine.appendSwitch("disable-features", "MediaSessionService"); - + if (os.version().indexOf("SteamOS")) { app.commandLine.appendSwitch("enable-features", "UseOzonePlatform"); app.commandLine.appendSwitch("ozone-platform", "x11"); diff --git a/src/main/plugins/lastfm.ts b/src/main/plugins/lastfm.ts index b1e748fd..dccf6f5e 100644 --- a/src/main/plugins/lastfm.ts +++ b/src/main/plugins/lastfm.ts @@ -209,7 +209,7 @@ export default class lastfm { }); return; } - + if (!this._authenticated || !attributes || this._utils.getStoreValue("connectivity.lastfm.filter_types")[attributes.playParams.kind] || this._utils.getStoreValue("connectivity.lastfm.filter_types")[attributes.kind] || (this._utils.getStoreValue("connectivity.lastfm.filter_loop") && this._nowPlayingCache.track === attributes.lfmTrack.name)) return; console.log(this._utils.getStoreValue("connectivity.lastfm.filter_types"));