From 8b72d4c94788e350d7b06ab61be8c99de7f8198a Mon Sep 17 00:00:00 2001 From: mister-monster <38917788+mister-monster@users.noreply.github.com> Date: Mon, 21 Oct 2019 22:20:47 -0500 Subject: [PATCH] Added use_pt_http_import Added config parameter to use Peertube HTTP import rather than downloading and uploading videos. Default false. --- example_config.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/example_config.toml b/example_config.toml index feb04d6..ad05c1a 100644 --- a/example_config.toml +++ b/example_config.toml @@ -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