THIS SCRIPT IS NOT WRITTEN BY ME All credit goes to @KyleSanderson Original repo: https://github.com/KyleSanderson/sessionerr
Sessionerr is a Go program designed to specifically tackle the problem mentioned here; cross-seed/cross-seed#365 It perform a specific task with qBittorrent and Cross-Seed. It checks for completed torrents in qBittorrent, exports them, and submits them to Cross-Seed for cross-seeding.
- It reads environment variables for configuration.
- It creates a new session with qBittorrent.
- It retrieves the list of torrents from qBittorrent.
- It processes each torrent to check if it's seeding and if it's in a specific save path.
- If a torrent meets the criteria, it attempts to add it to Cross-Seed.
- It logs the result of attempting to add each torrent to Cross-Seed.
Before you begin, make sure you have the following prerequisites installed:
- Docker: Install Docker
- Docker Compose (usually comes with Docker): Install Docker Compose
-
Clone this repository to your local machine:
git clone https://github.com/yourusername/sessionerr.git cd sessionerr
-
Modify the docker-compose.yml file to set the environment
-
Build and start the Docker container:
docker-compose up --build