Added ability to randomize playlists

Missing videos now show a more verbose error in the logs
This commit is contained in:
Isaac Abadi
2021-07-21 20:03:53 -06:00
parent b56b371ece
commit 9f908aa3fc
6 changed files with 23 additions and 4 deletions

View File

@@ -413,6 +413,7 @@ exports.createPlaylist = async (playlist_name, uids, type, thumbnail_url, user_u
thumbnailURL: thumbnail_url,
type: type,
registered: Date.now(),
randomize_order: false
};
const duration = await exports.calculatePlaylistDuration(new_playlist, user_uid);