ptp-up
You need install node.js、mktorrent、ffmpeg、mediainfo.
install nodejs
wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.34.0/install.sh | bash
source ~/.profile
nvm install stable
Step
git clone https://github.com/lushdog/ptp-up.git
cd ptp-up && npm link && npm i http-server -g
Usage
- ptp movies***.mkv
ptp movies***.rar
ptp movies***.mkv --nomv (don't move this file to moveDir that config sets .) - browse your.server.ip:9006
- movies***.mkv-info.txt would contain description you need.
Cofig
copy config.example.json to config.json
{
"workDir": "/home/kaka/ptp", // store screenshots、torent file、mediainfo.
"moveDir": "/home/kaka/deluge/download", // move to this folder.
"host": "1.1.1.1", // Your server ip
"ptpimgEmail": "", // ptpimg email
"ptpimgPassword": "" // ptpimg password
}