aboutsummaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorMax Isom <[email protected]>2021-05-30 15:01:11 -0500
committerMax Isom <[email protected]>2021-05-30 15:01:11 -0500
commitcf75afd4bc1d54223ffa59ec9ddb8a7c255facf6 (patch)
tree4e2abbdbf6386be791aadc7878f472cd006b279c /package.json
parentd61107aedd5a7108cd3dc1eb6a542ed38f551e00 (diff)
downloadmuse-cf75afd4bc1d54223ffa59ec9ddb8a7c255facf6.tar.xz
muse-cf75afd4bc1d54223ffa59ec9ddb8a7c255facf6.zip
Fix shuffle bug for long Spotify playlists
A random sample of 50 songs is taken for long playlists since mapping Spotify -> YouTube is expensive. However, the function used previously allowed for duplicates within that sample of 50.
Diffstat (limited to 'package.json')
-rw-r--r--package.json3
1 files changed, 1 insertions, 2 deletions
diff --git a/package.json b/package.json
index 3fbf223..18c3bef 100644
--- a/package.json
+++ b/package.json
@@ -89,8 +89,7 @@
"spotify-uri": "^2.2.0",
"spotify-web-api-node": "^5.0.2",
"sqlite3": "^5.0.2",
- "unique-random-array": "^2.0.0",
"youtube.ts": "^0.2.0",
- "ytdl-core": "^4.5.0"
+ "ytdl-core": "^4.8.2"
}
}