1
1
mirror of https://github.com/mister-monster/YouTube2PeerTube.git synced 2024-11-15 17:18:04 -05:00

Update readme to reflect new functionality

Added ability to use PeerTube HTTP import, issue #8, updated the readme to explain this option.
This commit is contained in:
mister-monster 2019-10-21 22:26:03 -05:00 committed by GitHub
parent 8a9dae1226
commit 7ff46a86c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,10 +28,14 @@ It also contains heavily modified components from prismedia https://git.lecygnen
## Configuration ## Configuration
IMPORTANT: If you are updating this tool be sure to check the new example configuration against your configuration, as some parameters may be added or removed or otherwise changed.
An example configuration file is found at example_config.toml. Copy this to config.toml and replace the fields with your information, and add channels as necessary. An example configuration file is found at example_config.toml. Copy this to config.toml and replace the fields with your information, and add channels as necessary.
The configuration file is found at config.toml. It allows you to configure the poll frequency for all YouTube channels, download directory for videos and metadata, whether to keep the videos after upload (for archiving purposes) as well as per channel options such as YouTube channel info, corresponding PeerTube channel info and auth, and appendable tags and descriptions. The configuration file is found at config.toml. It allows you to configure the poll frequency for all YouTube channels, download directory for videos and metadata, whether to keep the videos after upload (for archiving purposes) as well as per channel options such as YouTube channel info, corresponding PeerTube channel info and auth, and appendable tags and descriptions.
If you set <use_pt_http_import> to "true", the bot will not download videos at all. It will simply pass the YT video URL to PeerTube directly. Because of this, if you choose to use this option, you will not be able to locally transcode videos, nor will you be able to archive them.
Each channel is capable of mirroring to a different PeerTube account and instance, and is capable of appending tags and description information on a per channel basis. Each channel is capable of mirroring to a different PeerTube account and instance, and is capable of appending tags and description information on a per channel basis.
All videos and metadata are stored in <video_download_dir> as defined in the config, in a subdirectory with the same name as the channel <name> in the config, one directory per channel. All videos and metadata are named after the YouTube video ID. For each video, there should be 3 files: a video file, a thumbnail (jpg) and a text file containing metadata. All videos and metadata are stored in <video_download_dir> as defined in the config, in a subdirectory with the same name as the channel <name> in the config, one directory per channel. All videos and metadata are named after the YouTube video ID. For each video, there should be 3 files: a video file, a thumbnail (jpg) and a text file containing metadata.
@ -81,17 +85,11 @@ Thanks to the mps-youtube project https://github.com/mps-youtube for pafy, and t
If you find this tool useful and would like to donate, the following donation options are available: If you find this tool useful and would like to donate, the following donation options are available:
XMR: 4AeufJrhpQn7LGW5dZ9tH4FFAtfmRwEDvhYrH5GQDbNxQ9VyWKmdycb5naWcvRTqbm3fkyqrDi23x453stDKzu5YVgPfcbj XMR: 4AeufJrhpQn7LGW5dZ9tH4FFAtfmRwEDvhYrH5GQDbNxQ9VyWKmdycb5naWcvRTqbm3fkyqrDi23x453stDKzu5YVgPfcbj
BTC legacy: 141HaN7bq781BaB2PRP8mkUndebZXjxiFU BTC legacy: 141HaN7bq781BaB2PRP8mkUndebZXjxiFU
BTC segwit compatible: bc1qx2fa50av3j9hrjnszsnpflmtxqnz08936mq4xx BTC segwit compatible: bc1qx2fa50av3j9hrjnszsnpflmtxqnz08936mq4xx
BCH: qzr9gk7tv274x9u9sft243m729zrjnq0cvpzlelapt BCH: qzr9gk7tv274x9u9sft243m729zrjnq0cvpzlelapt
LTC: ltc1qa8re5eh2dklzfhg2x03tswsr5wae68qfxjzacd LTC: ltc1qa8re5eh2dklzfhg2x03tswsr5wae68qfxjzacd
ETH: 0x18304c5ed37dacefc920b291f39b06545b5fc258 ETH: 0x18304c5ed37dacefc920b291f39b06545b5fc258
ETC: 0xee3947eec103346ed42302221d99027a59bfa061 ETC: 0xee3947eec103346ed42302221d99027a59bfa061
Buy me a cup of coffee! Buy me a cup of coffee!