浏览代码

Added use_pt_http_import

Added config parameter to use Peertube HTTP import rather than downloading and uploading videos. Default false.
pull/11/head
mister-monster GitHub 4 年前
父节点
当前提交
8b72d4c947
找不到此签名对应的密钥 GPG 密钥 ID: 4AEE18F83AFDEB23
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. +1
    -0
      example_config.toml

+ 1
- 0
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



正在加载...
取消
保存