KuraiAndras / TransmissionExtras

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TransmissionExtras

Docker Image Version (latest semver) Docker Image Size (tag) Docker Pulls

Extra functionalities for Transmission

This project aims to augment Transmission with extra capabilities.

Installation

docker-compose:

version: "3.8"

services:

  transmission:
    container_name: transmission
    image: lscr.io/linuxserver/transmission:latest
    environment:
      USER: transmission-user
      PASS: MySuperStrongPassword1234!
    ports:
      - 9095:9091

  transmission-extras:
    container_name: transmission-extras
    image: huszky/transmission-extras:latest
    depends_on:
      - transmission
    environment:
      Transmission__Url: http://localhost:9095
      Transmission__User: transmission-user # Optional. Only required when authentication is enabled
      Transmission__Password: MySuperStrongPassword1234! # Optional. Only required when authentication is enabled
      Transmission__RetryTimeout: 00:05:00 # Optional. Retry timeout for failed jobs. Defaults to 1 minute
    volumes:
      - ./transmission-extras/jobs.json:/app/jobs.json

Job configuration:

[
    {
        "id": "remove-after-seed-time",
        "dryRun": true,
        "cron": "0 0 0/1 1/1 * ? *",
        "runOnStartup": true,
        "after": "11.00:00:00",
        "deleteData": true
    },
    {
        "id": "remove-after-added-time",
        "dryRun": true,
        "cron": "0 0 0/1 1/1 * ? *",
        "runOnStartup": true,
        "after": "15.00:00:00",
        "deleteData": true
    },
    {
        "id": "verify",
        "dryRun": true,
        "cron": "0 0 0/1 1/1 * ? *",
        "runOnStartup": true
    }
]

For creating cron schedules it is advised to use CronMaker.

For the elapsed time syntax refer to this documentation.

Features

Remove torrent after seed time

Automatically remove torrents after seeding set amount of time. Might not be accurate:

Remover torrent after added time

Automatically remove torrents after added date plus a set amount of time. Can be used to overcome the issues with seed time.

Torrent verification

Automatically verify torrents which need verification.

About

License:MIT License


Languages

Language:C# 77.6%Language:PowerShell 11.6%Language:Shell 9.5%Language:Batchfile 0.7%Language:Dockerfile 0.5%