mirror of
https://github.com/remix-bot/fluxer.git
synced 2026-11-24 06:01:44 -05:00
fix(lastfm): sync live scrobble counts & raise volume ceiling to 200%
This commit is contained in:
1 parent
7b2d29e229
commit
feaf57546e
3 files changed
+82
-3
No files matched your search
+2
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user