dgsmiley18 / usenet-upload.py

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

usenet-upload.py

Crude and simple script to upload .mkv files in a given directory.

Features

  • Generates par2 files for each .mkv
  • Can move the files into their own folders,
  • Can move the files into their own folders and it passes the .mkv file along with it's corresponding .par2 files directly to Nyuu via CLI
  • Looks into subdirectories for .mkv files
  • Probably has alot of cases where it breaks. Worked on my machine in my limited testing
  • Someone please make a better script I can't code

Prerequisites

Usage

Before you can use this, you have the edit and rename example-config to config example-config.json.

Windows

usenet-upload.py path\to\directory\with\mkv\files
py usenet-upload.py path\to\directory\with\mkv\files

Linux

python3 usenet-upload.py path/to/directory/with/mkv/files

help

> usenet-upload.py --help
usage: usenet-upload.py [-h] [-p] [-n] [-m] path

A script for uploading MKV files to usenet

positional arguments:
  path          Path to directory containing .mkv files

options:
  -h, --help    show this help message and exit
  -p, --parpar  Only run Parpar
  -n, --nyuu    Only run Nyuu
  -m, --move    Move files into their own folders

About

License:The Unlicense


Languages

Language:Python 100.0%