Rudd-O / seedboxtools

A tool to automate downloading finished torrents from a seedbox
http://pypi.python.org/pypi/seedboxtools
28 stars 3 forks source link

Handle download subfolders #10

Closed aubade closed 2 years ago

aubade commented 2 years ago

I like to sort different types of files (e.g. Linux Distro ISOs, and Archive.org letsplays), into separate subfolders (e.g. $SEEDBOXHOME/Downloads/LinuxISO and $SEEDBOXHOME/Downloads/AchiveOrgLP).

This currently seems to confuse leechtorrents, which expects everything to be in $SEEDBOXHOME/Downloads itself, and it says the torrents have had their files removed. Is there any way it could be smarter about this and, ideally, mirror the subfolder structure in the local download directory?

Rudd-O commented 2 years ago

If you don't remove the .*.done files from the download folder (these are the markers that a download is finished and shouldn't be started again), leechtorrents won't complain and won't redownload.

We only mirror the structure of the server itself. If the server has dirs/files a/* and b.mov, that is what you will get in the download folder — a/* and b.mov.

Rudd-O commented 2 years ago

To auto-organize files in specific folders, I like to use this: https://github.com/Rudd-O/organizer . You can tell leechtorrents to invoke that program upon download finish (although the first times you have to interactively teach the program where you like your specific media contents to be stored).

Unfortunately it only knows about movies / music / TV shows. It could easily gain other types of medias via pull requests tho.