diff options
| author | Max Isom <[email protected]> | 2021-05-30 15:01:11 -0500 |
|---|---|---|
| committer | Max Isom <[email protected]> | 2021-05-30 15:01:11 -0500 |
| commit | cf75afd4bc1d54223ffa59ec9ddb8a7c255facf6 (patch) | |
| tree | 4e2abbdbf6386be791aadc7878f472cd006b279c /package.json | |
| parent | d61107aedd5a7108cd3dc1eb6a542ed38f551e00 (diff) | |
| download | muse-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.json | 3 |
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" } } |
