transmission-hacks
Transmission hacks to automate removals, tagging and more
Settings
Variable Name | Default / Description |
---|---|
CRON_LOG_LEVEL |
0 / Tell cron what to log about jobs |
CRON_EXPRESSION |
* * * * * / A cron expression to indicate how often to run all scripts |
SCRIPT_TIMEOUT |
300 / Per script timeout in seconds |
TRANSMISSION_HOST |
localhost / The host where transmission runs |
TRANSMISSION_PORT |
9091 / Port where transmission is listening |
DELETE_TAG_0_NAME |
No default. A transmission tag to match torrents and delete by age. |
DELETE_TAG_0_AGE |
No default. Time (1d , 1w ...etc) string, torrents older than that will be deleted. |
DELETE_UNLINKED_1_NAME |
No default. A transmission tag to match torrents and delete if greater than age and has no links pointing to it. |
DELETE_UNLINKED_1_AGE |
No default. No default. Time (1d , 1w ...etc) string, torrents older than what will be deleted if there are no links pointing to it. |
Example
docker run --rm \
-v /transmission/downloads/dir:/downloads:ro \
-e TRANSMISSION_HOST=transmission \
-e DELETE_TAG_0_NAME=some-tag \
-e DELETE_TAG_0_AGE=12d \
-e DELETE_TAG_1_NAME=none \
-e DELETE_TAG_1_AGE=12d \
-e DELETE_UNLINKED_0_NAME=another-tag \
-e DELETE_UNLINKED_0_AGE=1w \
chn2guevara/transmission-hacks:latest