Added use_pt_http_import

Added config parameter to use Peertube HTTP import rather than downloading and uploading videos. Default false.
This commit is contained in:
mister-monster 2019-10-21 22:20:47 -05:00 committed by GitHub
parent b50aa253e9
commit 8b72d4c947
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,6 +2,7 @@
# This document is a configuration file for YouTube2PeerTube mirror bot
[global]
video_download_dir = "/path/to/download/directory/" # must be absolute path and user writable directory
use_pt_http_import = "false" # Peertube supports sending HTTP links to videos instead of downloading and uploading them. Use this option if you do not want to archive videos and have limited bandwidth. Setting this to true negates delete_videos as videos will not be downloaded, and disables transcoding.
delete_videos = "false" # Delete videos and metadata after upload to peertube, lowercase string
poll_frequency = 180 # poll frequency in minutes