- await access(program[ 'file' ], constants.F_OK)
-
- console.log('Uploading %s video...', program[ 'videoName' ])
-
- const videoAttributes = {
- name: program['videoName'],
- category: program['category'],
- licence: program['licence'],
- language: program['language'],
- nsfw: program['nsfw'],
- description: program['videoDescription'],
- tags: program['tags'],
- commentsEnabled: program['commentsEnabled'],
- fixture: program['file'],
- thumbnailfile: program['thumbnail'],
- previewfile: program['preview'],
- waitTranscoding: true,
- privacy: program['privacy'],
- support: undefined
- }