Update 'README.md'

This commit is contained in:
pwgen 2021-03-02 08:17:59 +00:00
parent e9ce0fcaef
commit e3bf0c1f7c

View file

@ -6,8 +6,18 @@ Script to upload Movies to BHD
- Outputs to the console incase you need it later
- Searches BHD for the TMDB and IMDB IDs
- Creates a torrent of the file
-
- Uploads to Drafts on BHD so you can run it on a list, and then do a quick once over to confirm its 'up-to-par'
## Dependancies
```
imgbox-cli (via pip)
mediainfo (via your package manager)
mktorrent (via your package manager)
```
## Installing
```
git clone https://git.concertos.live/pwgen/bhdupload bhdupload
# edit your .env file with your passkey & apikey
@ -20,35 +30,33 @@ source env/bin/activate
# install our deps
pip install -r requirements.txt
#
cp bhduploader.py ~/.local/bin/bhduploader
# Run it!
bhduploader.py --help
```
## Dependancies
imgbox-cli (via pip)
mediainfo (via your package manager)
mktorrent (via your package manager)
## Running
```
usage: bhduploader.py [-h] [-i INTERVAL] [-u] [-t] input
usage: bhduploader.py [-h] [-m SCREENSHOT] [-c COUNT] [-u] [-t] input
positional arguments:
input Input file
input Input file
optional arguments:
-h, --help show this help message and exit
-i INTERVAL Interval (seconds)
-u Create & Upload Screenshots
-t Create Torrent File
-h, --help show this help message and exit
-m SCREENSHOT Time to screenshot
-c COUNT Amount of screenshots to take
-u Create & Upload Screenshots
-t Create Torrent File
Examples:
# Create Images @ 900 second intervals, upload them, create a torrent & upload to (drafts) BHD
bhduploader -i 900 -u -t Movie.File.mkv
# Create 5 images from the first 900 seconds, upload them, create a torrent & upload to drafts BHD
bhduploader -c 5 -m 900 -u -t Movie.File.mkv
# Create a torrent file & upload to (drafts) BHD
bhduploader -t Movie.File.mkv