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:
Max Isom 2021-05-30 15:01:11 -05:00
parent d61107aedd
commit cf75afd4bc
No known key found for this signature in database
GPG key ID: 25C9B1A7F6798880
4 changed files with 17 additions and 23 deletions

View file

@ -1,8 +1,9 @@
{
"compilerOptions": {
"lib": ["ES2018"],
"target": "es6",
"lib": ["ES2019"],
"target": "es2018",
"module": "commonjs",
"moduleResolution": "node",
"declaration": true,
"outDir": "dist",
"declarationDir": "dts",