let people specify their stream duration

merge-requests/5/merge
loicbersier 4 years ago
parent f570b18912
commit 26fdf7cdb1

@ -184,7 +184,7 @@ class ytpCommand extends Command {
let options = {
debug: args.debug,
MAX_STREAM_DURATION: Math.floor((Math.random() * 3) + 1), // Random duration of video clip
MAX_STREAM_DURATION: args.link ? args.link : Math.floor((Math.random() * 3) + 1), // Random duration of video clip
sources: './asset/ytp/sources/',
sounds: './asset/ytp/sounds/',
music: './asset/ytp/music/',

Loading…
Cancel
Save