enforce Private Sessions on RPC and LastFM
This commit is contained in:
parent
3c5ac8446c
commit
ae9ea1d668
3 changed files with 9 additions and 4 deletions
|
@ -258,13 +258,14 @@ export default class LastFMPlugin {
|
|||
* @param attributes Music Attributes
|
||||
*/
|
||||
nowPlayingItemDidChangeLastFM(attributes: any): void {
|
||||
if (this._store.visual.showuserinfo){
|
||||
attributes.status = true
|
||||
if (!this._store.lastfm.filterLoop) {
|
||||
this._lastfm.cachedNowPlayingAttributes = false;
|
||||
this._lastfm.cachedAttributes = false
|
||||
}
|
||||
this.updateNowPlayingSong(attributes)
|
||||
this.scrobbleSong(attributes)
|
||||
this.scrobbleSong(attributes)}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue