iTorrent icon indicating copy to clipboard operation
iTorrent copied to clipboard

Adding multiple trackers

Open ghost opened this issue 5 years ago • 16 comments

It would be really cool to add multiple trackers at the same time and not one by one.

ghost avatar May 17 '20 11:05 ghost

Do you mean like separated by comma, or how?

XITRIX avatar May 18 '20 20:05 XITRIX

I mean like trackers seperated line by line like: www.tracker1.com www.tracker2.com

ghost avatar May 18 '20 20:05 ghost

Default textview inside alert controller is not support multiline, so to implement that I have to write an whole new UI element just for that feature, I'm afraid that I have no enough time now to implement that

XITRIX avatar May 18 '20 20:05 XITRIX

Ok anyway, thank you for your time to at least respond.

ghost avatar May 18 '20 20:05 ghost

I'll add it in my "feature request" list, if I'll have enough time, may be I'll make it.

XITRIX avatar May 18 '20 21:05 XITRIX

Hey @XITRIX! I kinda implemented this feature in iTorrent, all by myself. It is mostly working. Would you want to see it?

ghost avatar May 19 '20 17:05 ghost

Yes, of course

XITRIX avatar May 19 '20 17:05 XITRIX

Check it out https://github.com/ygzo/iTorrent/commit/aed8f2ed797011197f0549e841748964296320dc

ghost avatar May 19 '20 18:05 ghost

I checked your solution, it works but it looks ugly, I think I'll use it as reference, but I should beautify it before adding into release version, thanks for your work!

XITRIX avatar May 20 '20 19:05 XITRIX

I checked your solution, it works but it looks ugly, I think I'll use it as reference, but I should beautify it before adding into release version, thanks for your work!

Yeah it's really ugly LOL! But it does it job pretty well for me at this time. I hope I see a whole-new beautified version of it from you. Thanks for initially making iTorrent.

ghost avatar May 20 '20 19:05 ghost

Adding multiple trackers was also on my wishlist. A few days ago I decided to enter numerous trackers one by one on all my running torrents. However, when the app crashed, it lost all the work. On crashes, the torrents also lose other settings like the sequential download button and various (de)selected files on multi-file torrents.

SydneyUrshan avatar May 29 '20 19:05 SydneyUrshan

Adding multiple trackers was also on my wishlist. A few days ago I decided to enter numerous trackers one by one on all my running torrents. However, when the app crashed, it lost all the work. On crashes, the torrents also lose other settings like the sequential download button and various (de)selected files on multi-file torrents.

You can build the repo on my fork to use it until there is an official one. It looks like this right now. image

ghost avatar May 29 '20 19:05 ghost

@SydneyUrshan, yes, crashes is the most awful problem which cause some changes lost, you could force quit from app to save the changes, in case there was lots of them and you afraid to lost them.

XITRIX avatar May 29 '20 21:05 XITRIX

@XITRIX, if I quit the app or restart the phone, I lose everything. I even try pausing the torrents and then quitting the app before restarting and still lose, though that technique did work on previous builds. As far as the trackers, it would be convenient if each one was copyable to be able to paste them to other torrents (one by one). Or even being able to copy the entire list though when pasting, that puts us back to adding multiple trackers, but at least the list could be saved for future reference...

SydneyUrshan avatar May 29 '20 22:05 SydneyUrshan

@ygzok, yeah I saw that. It looks pretty cool. I can't use it though because I have a specific installation problem requiring the current release. Also, it looks like it's based on a previous build and I would lose other benefits as well provided by the current version. I do look forward to @XITRIX building off your code in a future release!

SydneyUrshan avatar May 29 '20 22:05 SydneyUrshan

PR #269 should add support for multi-line trackers add (bulk).

mahee96 avatar Sep 29 '23 01:09 mahee96