Skip to content
This repository has been archived by the owner on Feb 8, 2022. It is now read-only.

match and download .torrent files for local directories

License

Notifications You must be signed in to change notification settings

jtagcat/gazelle-torrent-from-file

Repository files navigation

Repo is archived. Feel free to mail to the one on gh profile.


match and download .torrent files for local directories with/from gazelle

This is slapped and bodged together, don't expect anything.

program logic

  1. give (root) directory in which downloaded torrents are in
  2. each subdir's (Torrent Root Directories) contents will be cross-referenced with API
    1. filenames within trd will be submitted to API, to search for torrents
  3. trd will be compared to potential matches:
    1. total size
    2. file listing (names and sizes)
    3. (optional[trdname]) trd name
  4. if single match is found:
    1. torrent file is downloaded
    2. (optional) trd is moved to a different root (onsuccess)
  5. if single match is not found (or other error):
    1. warning is outputted
    2. (optional) trd is moved to a different root (onfailure)

[trdname]: with trd name matching disabled, and in the unlikely scenario that there are multiple matches left, gtff will still try to refine the selection to one match

About

match and download .torrent files for local directories

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Languages