fix(lastfm): sync live scrobble counts & raise volume ceiling to 200%

This commit is contained in:
NoLogicAlan committed 2026-05-12 16:53:24 +03:00
1 parent 7b2d29e229
commit feaf57546e
3 files changed
+82 -3

No files matched your search

+2 -1
View File
@@ -176,7 +176,8 @@ export async function run(message) {
};
// Fetch Last.fm stats in the background (non-blocking for initial reply)
const scrobblePromise = lastfmEnabled ? lastfm.getStoredScrobbles() : Promise.resolve(0);
// getTotalScrobbles() syncs all linked users' lifetime scrobble counts from Last.fm
const scrobblePromise = lastfmEnabled ? lastfm.getTotalScrobbles() : Promise.resolve(0);
const linkedPromise = lastfmEnabled ? lastfm.getLinkedUsersCount() : Promise.resolve(0);
const hasCached = cachedUserCount !== null;