mirror of
https://github.com/BluemediaDev/muse.git
synced 2025-05-18 22:41:36 +02:00
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.
This commit is contained in:
parent
d61107aedd
commit
cf75afd4bc
4 changed files with 17 additions and 23 deletions
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue