JohnDoee / autotorrent2

Cross-seed matching and torrent lifecycle tool
https://johndoee.github.io/autotorrent2/
MIT License
142 stars 10 forks source link

[Feature Request] Add {tracker name} variable for use in store_path #28

Closed varoOP closed 1 year ago

varoOP commented 2 years ago

It would be great to be able to save the links in tracker subfolders. Especially if two trackers happen to have same torrent name, it will be possible to avoid an error.

JohnDoee commented 2 years ago

There are three ways to do that, which one do you have in mind?

varoOP commented 2 years ago

Could users map tracker url to tracker name in the configuration file? This way, we can use this option

Torrent tracker name taken from announce, can often be a domain name unrelated to the actual tracker

And have it converted to whatever name is preferred. All torrents will have at least one tracker url so that is reliable in my opinion.

This has the con of users having to configure their tracker URLs. If you feel that would not be ideal then in my opinion

"Source" key taken from the .torrent file

This option is great too.

Specify via commandline when running autotorrent, e.g. at2 add --variable tracker=linuxisoglobal

Can this option be added regardless? It will override no matter what is in the .torrent file.

JohnDoee commented 1 year ago

Fixed in 1.2.1