瀏覽代碼

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



Loading…
取消
儲存