dotnetdummy / TorrentExtractor

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TorrentExtractor

Intended to be run as a service, watching for downloaded files and extracting/moving them to a desired destination. Can also be run as a docker image.

Pre-requirements

  • .Net 8

Build as linux service

Run the following to build it as self-contained (without need to install .Net on the target machine)

dotnet publish -c Release -r linux-x64 /p:PublishSingleFile=true /p:PublishTrimmed=true

Environment variables

  • CORE__COPYDELAY: Delay in seconds before copying the file from the source folder. Default is 60 seconds. Must be over 0.
  • PATHS__SOURCE: (required) Source directory to watch for new files.
  • PATHS__WHITELISTEDWORDS: Comma separated list of words to whitelist files in source directory. If not set, all files will be processed.
  • PATHS__BLACKLISTEDWORDS: Comma separated list of words to blacklist files in source directory. If not set, all files will be processed.
  • PATHS__MOVIES__DEFAULT: (required) Default destination directory for movies.
  • PATHS__MOVIES__2160P: 2160P destination directory for movies.
  • PATHS__MOVIES__1080P: 1080P destination directory for movies.
  • PATHS__MOVIES__720P: 720P destination directory for movies.
  • PATHS__TV__DEFAULT: (required) Default destination directory for tv shows.
  • PATHS__TV__2160P: 2160P destination directory for tv shows.
  • PATHS__TV__1080P: 1080P destination directory for tv shows.
  • PATHS__TV__720P: 720P destination directory for tv shows.

About

License:MIT License


Languages

Language:C# 97.6%Language:Dockerfile 1.6%Language:Shell 0.8%