[READ-ONLY] Mirror of https://github.com/FoxxMD/multi-scrobbler. Scrobble plays from multiple sources to multiple clients docs.multi-scrobbler.app
deezer docker jellyfin koito lastfm listenbrainz maloja mopidy mpris music music-assistant plex scrobble self-hosted spotify subsonic tautulli youtube-music
0

Configure Feed

Select the types of activity you want to include in your feed.

fix(source): Remove superfluous interval logging

FoxxMD (May 6, 2026, 6:15 PM UTC) f7888944 d0379e1b

+5 -5
+3 -3
src/backend/sources/AbstractSource.ts
··· 533 533 this.abortController.abort(reason); 534 534 let elapsed = 0; 535 535 let lastlog: Dayjs; 536 - while(this.polling && elapsed < 10) { 536 + while(this.polling && elapsed < (10 * this.stopPollingWaitInterval)) { 537 537 if(lastlog === undefined || dayjs().diff(lastlog, 's') >= 2) { 538 538 this.logger.verbose(`Waiting for polling stop signal to be acknowledged (waited ${formatNumber(elapsed/1000)}s)`); 539 539 } ··· 581 581 } 582 582 583 583 584 - const interval = this.getInterval(); 584 + const interval = this.getInterval(true); 585 585 const maxBackoff = this.getMaxBackoff(); 586 586 let sleepTime = interval; 587 587 ··· 685 685 return this.wakeAt; 686 686 } 687 687 688 - protected getInterval() { 688 + protected getInterval(log?: boolean) { 689 689 let interval = DEFAULT_POLLING_INTERVAL; 690 690 691 691 if('interval' in this.config.data) {
+2 -2
src/backend/sources/MemorySource.ts
··· 385 385 386 386 recentlyPlayedTrackIsValid = (playObj: any) => playObj.data.playDate.isBefore(dayjs().subtract(30, 's')) 387 387 388 - protected getInterval(): number { 388 + protected getInterval(log?: boolean): number { 389 389 /** 390 390 * If any player is progressing, reports position, and play has duration 391 391 * then we can modify polling interval so that we check source data just before track is supposed to end ··· 415 415 } 416 416 } 417 417 } 418 - if(logDecrease !== undefined) { 418 + if(logDecrease !== undefined && log) { 419 419 this.logger.debug(logDecrease); 420 420 } 421 421 return interval;