Opened 14 years ago

Closed 13 years ago

#224 closed Enhancement (fixed)

creating multi-tracker torrents

Reported by: jah Owned by: charles
Priority: Normal Milestone: 1.30
Component: Transmission Version: 0.82
Severity: Normal Keywords:
Cc:

Description

You should be able to enter multiple trackers into the announce field when creating a torrent, given T supports multiple trackers when downloading/uploading.

Attachments (8)

announcelist-CreatorWindowController.m.diff (2.3 KB) - added by tiennou 14 years ago.
announcelist-makemeta.c.diff (2.2 KB) - added by tiennou 14 years ago.
announcelist-makemeta.h.diff (1.2 KB) - added by tiennou 14 years ago.
announcelist.diff (6.2 KB) - added by tiennou 14 years ago.
Patch to support writing a torrent's announce-list
multitrackergui.tiff (59.2 KB) - added by jah 14 years ago.
possible mock up of the gui
cli.c.patch (2.3 KB) - added by NikeL 13 years ago.
Patch for cli.c to create torrentfile with muliple trackers
transmission_cli-1.42.patch (2.2 KB) - added by NikeL 13 years ago.
patch für 1.42 version
transmission_cli-1.42.2.patch (2.2 KB) - added by NikeL 13 years ago.
individual tier for evry announce

Download all attachments as: .zip

Change History (24)

comment:1 Changed 14 years ago by livings124

  • Priority changed from highest to normal

comment:2 Changed 14 years ago by tiennou

Patch time ! Now I'm sure a GUI could be created, but right now it uses ',' and ';' as separator, which means http://tracker1.example.com/announce,http://tracker2.example.com/announce;http://backup1.example.com will be parsed as tier1 = announce1 = http://tracker1.example.com/announce tier1 = announce2 = http://tracker2.example.com/announce tier2 = http://backup1.example.com

If there's no separator, we don't use announce-list at all ;-)

Changed 14 years ago by tiennou

Changed 14 years ago by tiennou

Changed 14 years ago by tiennou

comment:3 Changed 14 years ago by tiennou

  • Milestone changed from Sometime to 0.90
  • Version changed from 0.6 to 0.82+

Hmm, I forget to free allocated memory ;-). Updated patch !

Changed 14 years ago by tiennou

Patch to support writing a torrent's announce-list

comment:4 Changed 14 years ago by charles

  • Milestone changed from 0.90 to Sometime

After talking it over with BMW, I'm going to take this off the 0.90 list unless BMW or tiennou writes a better gui for it

comment:6 Changed 14 years ago by tiennou

OK I'll make a GUI for it

comment:7 Changed 14 years ago by tiennou

  • Owner Charles Kerr deleted

Hmm, I think one very nice thing to handle this would be to use NSTokenField, but it won't handle different token kinds (eg. we need tier-tokens, say in yellow, containing tracker-tokens, shown in green). I guess creating a wicked subclass of NSTokenField would do, but I'm too busy with the other stuff I'm handling (Fast-peers, Superseeding, DHT) to do that...

Another quicker way would be to use a NSTableView and separators, but it is not completely obvious...

comment:8 Changed 14 years ago by Waldorf

Charles, could you at-least do the back-end? full support may then be patched or done by BMW whenever someone has time.

comment:9 Changed 14 years ago by Waldorf

  • Version changed from 0.82+ to 1.00+

comment:10 Changed 14 years ago by livings124

  • Version changed from 1.02+ to 0.82

comment:11 Changed 14 years ago by charles

  • Milestone changed from Sometime to 1.20
  • Owner set to charles
  • Status changed from new to assigned

I don't know how much of the patch still applies to the current codebase, but multitracker is a feature we should put into 1.20...

Changed 14 years ago by jah

possible mock up of the gui

comment:12 Changed 14 years ago by charles

  • Milestone changed from 1.20 to None Set

comment:13 Changed 13 years ago by charles

  • Milestone changed from None Set to 1.30

backend & gtk support added in r5989

comment:14 Changed 13 years ago by livings124

  • Resolution set to fixed
  • Status changed from assigned to closed

Mac support added in [6038]

Changed 13 years ago by NikeL

Patch for cli.c to create torrentfile with muliple trackers

comment:15 in reply to: ↑ description ; follow-up: Changed 13 years ago by NikeL

  • Resolution fixed deleted
  • Status changed from closed to reopened

transmissioncli can't create torrentfiles with multiple trackers announce. My patch make it possible with multiple "-a <url>" commandline option.

example: $ transmissioncli -a http://url1 -a http://url2 -n bla bla.torrent

comment:16 in reply to: ↑ 15 Changed 13 years ago by NikeL

  • Version changed from 0.82 to 1.33

It fix a problem, when no annonce are given, there no check for it and original end with segfault.

Changed 13 years ago by NikeL

patch für 1.42 version

Changed 13 years ago by NikeL

individual tier for evry announce

comment:17 Changed 13 years ago by livings124

  • Resolution set to fixed
  • Status changed from reopened to closed
  • Version changed from 1.33 to 0.82

CLI patch moved to #1805

Note: See TracTickets for help on using tickets.