[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: Fix cache test missing awaits

FoxxMD (Sep 11, 2025, 7:14 PM UTC) 351edd81 10dcb7f3

+4 -4
+4 -4
src/backend/tests/cache/cache.test.ts
··· 59 59 60 60 withLocalTmpDir(async () => { 61 61 62 - const [keyv, flat] = initFileCache({ cacheDir: process.cwd() }); 62 + const [keyv, flat] = await initFileCache({ cacheDir: process.cwd() }); 63 63 64 64 const now = dayjs(); 65 65 66 66 await keyv.set('foo', now); 67 67 flat.save(); 68 68 69 - const [cleanKeyv, cleanFlat] = initFileCache({ cacheDir: process.cwd() }); 69 + const [cleanKeyv, cleanFlat] = await initFileCache({ cacheDir: process.cwd() }); 70 70 71 71 const time = await cleanKeyv.get('foo'); 72 72 ··· 82 82 83 83 withLocalTmpDir(async () => { 84 84 85 - const [keyv, flat] = initFileCache({ cacheDir: process.cwd() }); 85 + const [keyv, flat] = await initFileCache({ cacheDir: process.cwd() }); 86 86 87 87 const prog = new ListenProgressPositional({ timestamp: dayjs(), position: 35, positionPercent: 50 }); 88 88 89 89 await keyv.set('foo', prog); 90 90 await flat.save(); 91 91 92 - const [cleanKeyv, cleanFlat] = initFileCache({ cacheDir: process.cwd() }); 92 + const [cleanKeyv, cleanFlat] = await initFileCache({ cacheDir: process.cwd() }); 93 93 94 94 const cachedProg = await cleanKeyv.get('foo'); 95 95