revert auto dj algorithm

This commit is contained in:
IrosTheBeggar 2020-01-17 21:54:25 -05:00
parent 316755bde2
commit 0bb92acff8

View File

@ -555,7 +555,7 @@ exports.setup = function (mstream, program) {
randomNumber = Math.floor(Math.random() * count);
}
let randomSong = results[randomNumber];
const randomSong = results[randomNumber];
returnThis.songs.push({
"filepath": fe.join(randomSong.vpath, randomSong.filepath).replace(/\\/g, '/'),