oilervoss / transmission

Scripts for transmission
MIT License
86 stars 25 forks source link

Do not add to private torrents #2

Open n0ncetonic opened 6 years ago

n0ncetonic commented 6 years ago

Would be very nice if this didn't try to add public trackers to torrents downloaded from private torrent sites

darkrain88 commented 6 years ago

in fact there is no different between pt and bt. so may it is difficult to separate them

Jorman commented 5 years ago

Hi, thanks for this.

I'm also interested to this "feature" The only think that came in my mind is to inject tracker only to torrent where the magnet don't contain xxxxxxxxx So with:

$TRANSMISSION_REMOTE -t $TORRENT -i | sed -nr 's/ *Magnet: ?(.*)/\1/p' | grep $PRIVATE_TRACKER_LIST

You can find which torrent are from a list of traker. So, we have to filter and "not add" tracker to torrent that have a private tracker list inside the magnet The main problem is that I don't know if I'm able to do that! LOL

This's only an idea, what do you think?