lastfm changes
This commit is contained in:
parent
cb82ff482d
commit
1ad805c04e
1 changed files with 7 additions and 5 deletions
|
@ -258,17 +258,19 @@ export default class LastFMPlugin {
|
|||
*/
|
||||
onPlaybackStateDidChange(attributes: object): void {
|
||||
this.updateNowPlayingSong(attributes)
|
||||
this.scrobbleSong(attributes)
|
||||
// this.scrobbleSong(attributes)
|
||||
}
|
||||
|
||||
/**
|
||||
* Runs on song change
|
||||
* @param attributes Music Attributes
|
||||
*/
|
||||
lfmItemChange(attributes: object): void {
|
||||
lfmItemChange(attributes: any): void {
|
||||
attributes.status = true
|
||||
if (!this._store.lastfm.filterLoop){
|
||||
this._lastfm.cachedNowPlayingAttributes = false;
|
||||
this._lastfm.cachedAttributes = false}
|
||||
this._lastfm.cachedAttributes = false
|
||||
}
|
||||
this.updateNowPlayingSong(attributes)
|
||||
this.scrobbleSong(attributes)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue