Browse Source

Use thumbnail as preview for peertube, fix #7

develop
LecygneNoir 5 years ago
parent
commit
a160b2e409
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      lib/pt_upload.py

+ 1
- 0
lib/pt_upload.py View File

@ -106,6 +106,7 @@ def upload_video(oauth, secret, options):
if options.get('--thumbnail'):
fields.append(("thumbnailfile", get_file(options.get('--thumbnail'))))
fields.append(("previewfile", get_file(options.get('--thumbnail'))))
multipart_data = MultipartEncoder(fields)

Loading…
Cancel
Save