Added intro back

This commit is contained in:
loicbersier 2020-04-29 19:38:26 +02:00
parent f7af6745ca
commit 52ec3986bc
2 changed files with 1 additions and 0 deletions

BIN
asset/ytp/intro.mp4 Normal file

Binary file not shown.

View file

@ -190,6 +190,7 @@ class ytpCommand extends Command {
resources: './asset/ytp/resources/', resources: './asset/ytp/resources/',
temp: os.tmpdir(), temp: os.tmpdir(),
sourceList: asset, sourceList: asset,
intro: args.force ? './asset/ytp/intro.mp4' : null,
outro: './asset/ytp/outro.mp4', // Need an outro or it won't work outro: './asset/ytp/outro.mp4', // Need an outro or it won't work
OUTPUT_FILE: `${os.tmpdir()}/${message.id}_YTP.mp4`, OUTPUT_FILE: `${os.tmpdir()}/${message.id}_YTP.mp4`,
MAX_CLIPS: MAX_CLIPS, MAX_CLIPS: MAX_CLIPS,