[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.

feat(db): Add unix timestamp to database bakup file and fix test for detecting it

FoxxMD (Jun 10, 2026, 1:54 AM UTC) 3227541f e949da38

+4 -3
+1 -1
src/backend/common/database/Database.ts
··· 34 34 35 35 const { 36 36 logger: parentLogger = loggerNoop, 37 - suffix, 37 + suffix = dayjs().unix().toString(), 38 38 } = opts; 39 39 40 40 const logger = childLogger(parentLogger, 'Migrations');
+3 -2
src/backend/tests/database/drizzle.test.ts
··· 121 121 122 122 await withLocalTmpDir(async () => { 123 123 124 - const dbPath = getDbPath('msDb', process.cwd()); 124 + const dbPath = getDbPath('ms', process.cwd()); 125 125 // copy first migration 126 126 await fs.mkdir('migrations'); 127 127 try { ··· 148 148 149 149 await getMigratedDb(dbPath, {migrationsFolder: mf}); 150 150 const contents = await fs.readdir(path.resolve('./')); 151 - expect(contents.some(x => x.includes('ms.db.bak'))); 151 + const bakPattern = new RegExp(/ms\.db\.\d+\.bak/); 152 + expect(contents.some(x => bakPattern.test(x))).is.true; 152 153 } catch (e) { 153 154 throw e; 154 155 }