Skip to content

coma-toast/cloud-torrent-dler

Repository files navigation

cloud-torrent-dler

Auto-download from a cloud torrent provider (Seedr) and save in a folder (exposed to Plex, for example). Roll your own streaming service!

Installation

Pre-reqs

  • A paid Seedr.cc account
    • No API or FTP access for free accounts :(
  • A ShowRSS.info account (Free! They survive on donations. So do I. Hint hint.)
  • Go v1.13+ installed

Install

  • git clone
  • cp config.yaml.template config.yaml
  • edit config.yaml with your parameters
  • make folders in Seedr to match your local folder structure
  • first item in the array must be your folder for tv shows
  • For example:
    • Seedr Folders:
      • ["Shows", "Movies/Kids", "Movies/Not Kids"]
    • Local folders would have to match:
    • /media/DataDrive/
      • Shows/
      • Movies/
        • Kids/
        • Not Kids/
  • go build
  • ./cloud-torrent-dler
    • use & at the end to run in the background
    • or run in a screen
    • or add to startup

Notes

  • There is no way to programmatically do this without a paid Seedr account :(
  • New episodes added to your ShowRSS feed will have the magnet automatically added to Seedr.
  • Anything in the folder list from config.yaml will be automatically downloaded to a matching local folder under the DlRoot path
  • This means that, currently, you will still have to periodically check Seedr and move downloaded files to the appropriate folders.
  • Additional features planned
    • Automatically move episodes added via the ShowRSS function to the correct subfolder. This will allow full automation for TV episodes
    • Figuring out how do to something similar for movies.

TO DO

  • Better error handling in general. I always put this off even though I know better.
  • Refactor the download function - create a download queue that will be parsed through.

Service file:

[Unit]
Description=Cloud Torrent Downloader
After=network.target

[Service]
Type=simple
ExecStart=/bin/bash /home/<username>/scripts/ctd.sh
TimeoutStartSec=0

[Install]
WantedBy=default.target

Script to start:

/home/jason/ctd.sh

#!/bin/bash
/home/<username>/git/cloud-torrent-dler/cloud-torrent-dler -conf=/home/<username>/.config/cloud-torrent-dler

About

Roll your own streaming service!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published