[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(db): Fix accessing undefined lifecycle during retention cleanup

FoxxMD (Jun 24, 2026, 7:29 PM UTC) 6f8ca72c 2ae32ee1

+8 -6
+8 -6
src/backend/common/database/drizzle/repositories/PlayRepository.ts
··· 417 417 } 418 418 419 419 compactedPlay = playRow.play; 420 - compactedPlay.lifecycle = compactedPlay.lifecycle.map(x => { 421 - if(x.inputs == undefined) { 422 - return x; 423 - } 424 - return {...x, inputs: x.inputs.map(y => ({type: y.type, input: 'Removed by compaction'}))}; 425 - }); 420 + if(compactedPlay.lifecycle !== undefined) { 421 + compactedPlay.lifecycle = compactedPlay.lifecycle.map(x => { 422 + if(x.inputs == undefined) { 423 + return x; 424 + } 425 + return {...x, inputs: x.inputs.map(y => ({type: y.type, input: 'Removed by compaction'}))}; 426 + }); 427 + } 426 428 } 427 429 428 430 const updater = this.db.update(plays);