Merge remote-tracking branch 'origin/main'

This commit is contained in:
Core 2022-09-26 22:47:37 +01:00
commit c446b81003
No known key found for this signature in database
GPG key ID: 2AB8327FBA02D1C0
2 changed files with 2 additions and 2 deletions

View file

@ -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");

View file

@ -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"));