Opened 5 years ago

Last modified 3 years ago

#5627 new Enhancement

updating tracker list in bulk

Reported by: seaseasea Owned by: livings124
Priority: Normal Milestone: Sometime
Component: Mac Client Version: 2.84+
Severity: Normal Keywords: bulk, trackers, updating
Cc: metaclam@…

Description

I understand this feature exists with utorrent but does not for transmission. I hve 2342 torrents currently with a tracker and my passkey was inadvertedly reset (as i am newbie and have no idea, plain stupid really) --- But apparently my blunder would not be such a big issue if I was using another torrent client.

--- Plus i checked the forum, and others see it as a valuable feature https://forum.transmissionbt.com/viewtopic.php?f=4&t=12307&p=65183&hilit=passkey#p65183

[quote] Re: Batch change tracker information

Unread postby MisterE » Fri Jun 21, 2013 5:19 am Yes please do reply and thank you Rick for keeping this alive.

I understad this feature is probably not needed by most users but, when you're seeding thousands of torrents and need to change a passkey or tracker it's very very painful as it is.

Would the implementation be difficult?

Thanks so much!

MisterE

Quote

Posts: 4 Joined: Mon Aug 06, 2012 4:06 pm

Top

Re: Batch change tracker information

Unread postby x190 » Fri Jun 21, 2013 9:28 am http://trac.transmissionbt.com/register quote


would be wonderful if this feature could be implemented.

thankyou

Change History (14)

comment:1 Changed 5 years ago by rb07

It can be done already...

Since you didn't specify which client you're using, I'm going to guess its Transmission-Mac. I don't know anything about that specific client.

I know that in Transmission-Qt you can already do what you describe, which by the way, is not really how its done: what you want is to add new tracker information (which may include a pass-phrase or similar code used in private trackers), and delete the old tracker information.

With Transmission-Qt (which also works on Mac OSX) you just set the tracker filter, select all, open Torrent Properties -> Tracker, add the new info (once), delete the old info (also once), and you're done.

comment:2 Changed 5 years ago by rb07

It can also be done with scripts, using transmission-remote's options:

 -td  --tracker-add            <tracker>   Add a tracker to a torrent
 -tr  --tracker-remove         <trackerId> Remove a tracker from a torrent

To use this with the Mac client you have to enable "Allow remote access". As I said, I know nothing about Transmission-Mac, so the option could be somewhere in the Preferences, or in settings.json if that app also uses that file.

And even better, it can be done with one of the tools that come with transmission-remote:

$ transmission-edit -h
Usage: transmission-edit [options] torrent-file(s)

Options:
...
 -r --replace <old> <new> Search and replace a substring in the announce URLs
...

That seems to do just what you asked, and in a single operation. The difference with using transmission-remote, and it is a BIG difference, is that this tool operates on .torrent files, not by communicating with the daemon. If you intend to change the torrents on a daemon, you'll have to stop the daemon, change the daemon's copy of the metadata, then start it.

Last edited 5 years ago by rb07 (previous) (diff)

comment:3 Changed 5 years ago by seaseasea

hello rb07

thankyou for replying. great news you say it can be done. i just need to work out how. sorry I thought I was in a pure Transmission Forum. You are spot on, I am on MAC Transmission 2.82 (14160) --- It appears the window version of Transmission (like other torrent clients, window version) to update torrent is possible. In MAC Transmission the option of "open Torrent Properities --> tracker" I can not find anywhere.


I have 2 options regarding open

open torrent file open torrent address

so neither are giving me access to tracker level detail


I turned on Remote. Thankyou. Didnt know this existed. I am in the web interface. Am I in the correct area? http://localhost:9091/transmission/web/

I can

  • filter for tracker
  • but cannot see any option to change tracker

in the remote option. I am not changing tracker, just my passkey. is the full address regarded as "new tracker" so my passkey forms part of the trackerId?


Last edited 5 years ago by seaseasea (previous) (diff)

comment:4 Changed 5 years ago by rb07

  • Component changed from Transmission to Mac Client
  • Owner set to livings124

It appears the window version of Transmission (like other torrent clients, window version) to update torrent is possible.

Transmission-Qt is for Linux, Mac, and Windows.

"Torrent Properities --> tracker" I can not find anywhere.

I already said I know nothing about Transmission-Mac.

I am in the web interface. Am I in the correct area?

No. I never said you should use the Web client.

I am not changing tracker, just my passkey. is the full address regarded as "new tracker" so my passkey forms part of the trackerId?

Yes, the passkey is embedded in the tracker info.

You may have noticed that the passkey is nowhere to be found in Transmission. You can't see it, you can't change it... that's why I said your description "is not really how its done".

Granted that if you write a script to do this, you could read the current tracker link, and change the passkey... but that still is not a single operation with transmission-remote (which by the way doesn't come with Transmission-Mac, only with transmission-daemon), its still 2 operations: add the edited info, delete the original, just like with Tr-Qt.

You could leave this ticket as an "enhancement" request (i.e. not currently implemented on Tr-Mac), and follow in the forum with other options... like using Tr-Qt in another computer, or even in a VM inside the Mac, to do the operation.

comment:5 Changed 5 years ago by seaseasea

Ok. many thanks for elaborating. I now get its a 2 step process that is required (its a replace not an edit) ---

Operation with transmission-remote (which by the way doesn't come with Transmission-Mac, only with transmission-daemon), its still 2 operations: add the edited info, delete the original, just like with Tr-Qt.

To confirm, this 2 step process is not possible in a MAC environment. Specifically Mac/Maverick? OSX environment (which is what I am on)


So that means it is NOT possible for MAC/Mavericks OSX user with only their Mac. (I dont have another computer). (I know nothing about how to setup VM but I do know the typical VM apps (e.g. bluestacks/greystans) are not working well with Maverick OSX and so from forum,many are stuck.

So would not that mean it is definitely an enhancement that would benefit Mac users?

comment:6 follow-up: Changed 5 years ago by livings124

  • Priority changed from High to Normal
  • Summary changed from updating existing torrent (e.g. passkey etc.. )on bulk to updating tracker list in bulk

comment:7 in reply to: ↑ 6 Changed 5 years ago by MisterE

This was first submitted to trac ~5 years ago by another user and it received comments from me and a couple of users over the years but, I can not find the original ticket. It should be just closed not deleted?? I had to re-register for trac too so maybe some data was purged. Anyways, it has always been a Mac client only problem.

Replying to livings124:

Priority changed from High to Normal Summary changed from updating existing torrent (e.g. passkey etc.. )on bulk to updating tracker list in bulk

Does this means the feature is up for implementation now? If so I'm thrilled.

(This will make T nearly perfect for me. Just need to be able to force a data verify without having to add the torrent(s) again and it's done but, I digress :)

comment:8 Changed 5 years ago by MisterE

Mandrake user came into the #transmission channel today asking for help creating torrents. They were asked to pastebin their shell commands and the results. The user inadvertently included their (private) tracker passkey in their paste. When I pointed it out they changed pass keys (for ~350 torrents) and it was very easy for them with simple shell commands.

transimission-remote -tall -td "newtracker.url/bla" transimission-remote -tall -tr 0 "old.tracker.url/bla"

Is it difficult to bring this functionality to the Mac app?

comment:9 Changed 5 years ago by MisterE

  • Keywords bulk trackers updating added
  • Milestone changed from None Set to Sometime
  • Version changed from 2.82 to 2.84+

comment:10 Changed 4 years ago by metaclam

Yes, please, this is much needed at the moment. 2 trackers I use frequently have changed their URL and I need to update hundreds of torrents. I'm on a Mac. Surprised there doesn't seem to be any way to do this!

comment:11 Changed 4 years ago by metaclam

  • Cc metaclam@… added

comment:12 Changed 4 years ago by metaclam

While a built-in solution would still be great, there's a python script that works well on a Mac. Please see https://forum.transmissionbt.com/viewtopic.php?f=4&t=12307&p=71721#p71721

comment:13 Changed 3 years ago by pguth

It would be really great if one could set a list of default trackers in /etc/transmission-daemon/settings.json that transmission then would use for all active torrents.

This way one could easily ensure that all torrents are organized at least via certain trackers.

comment:14 Changed 3 years ago by cfpp2p

Running a script when adding a torrent #5586

as implemented in Entware-ng https://github.com/Entware-ng/entware-packages/commit/fd26868c3f0bd9cd4ee2f95adc4b2c1ce65368f8

If patched to run a script on torrent added usage as exampled at Adding more trackers
"...Script below will help to add more trackers to every new torrent..."
https://github.com/Entware-ng/Entware-ng/wiki/Using-Transmission#adding-more-trackers

Once patched, works well for any platform.

Note: See TracTickets for help on using tickets.