Jump to content

µTorrent Adder


Ultima

Recommended Posts

utorrent-adder.th.png

[h]Introduction[/h]

µTorrent Adder is a utility that makes use of the µTorrent WebUI backend API to send .torrent files directly to a remote (or local) instance of µTorrent. Those of you familiar with uTorrentHandler and/or Send2UTorrent should feel right at home with this utility. µTorrent Adder can be associated with .torrent files, as with those utilities, but it also supports the µTorrent WebUI token authentication system for users that are security conscious. As well, there are a few extra niceties, like server profiles, and adding from the utility UI directly in batch (both files and URL), drag-and-drop support in the files list, and various other little polishes.


[h]Download[/h]

[v0.3.0.1] x64, Unicode

[v0.3.0.0] x64, Unicode

[v0.2.1.1] Unicode, ANSI

[v0.1.1.1] Unicode, ANSI

Unicode builds can display Unicode characters (like Asian characters) properly, but work only with Windows 2000 and above. ANSI builds can't display Unicode characters properly, but should work on Windows 9x and above.


[h]Notes[/h]

  • Unless specified, the default profile used for sending via commandline is the last used profile

[h]Commandline Options[/h]

  • -profile="PROFILE NAME" : Add .torrent files to the specified profile name (must be quote-wrapped)
  • -file="LOCAL TORRENT FILE PATH" : Add the specified local .torrent file (must be quote-wrapped)
  • -url="TORRENT FILE URL" : Add the specified .torrent file URL (must be quote-wrapped)
  • -silent : Don't show popup notification when torrent is sent via commandline

[h]History[/h]

v0.3.0.1 (2013-11-24)

~ Change: Improved send failure handling

v0.3.0.0 (2011-04-30)

^ New: x64 build support

+ Feature: Logger tab

+ Feature: Popup confirmation when torrent is sent via commandline

~ Change: Hide taskbar entry for profile naming dialog

~ Change: Improved error logging/reporting

~ Change: Properly detect and use system font on Windows Vista and newer

v0.2.1.1 (2009-11-29)

~ Change: Disable "Add to uTorrent" button if host details are incomplete

~ Change: Slightly more informative commandline option error handling

* Fix: Improper Registry entries associating .torrent files and magnet URIs

* Fix: Magnet URI association fails without association to another application

v0.2.1.0 (2009-11-27)

+ Feature: Associate with magnet URIs

+ Feature: Heuristically check if unqualified commandline option is URL or file

~ Change: Disable "Add to uTorrent" button if there is nothing to send

v0.2.0.0 (2009-10-30)

+ Feature: Add URL from commandline

+ Feature: Custom WebUI paths

+ Feature: Option to not store last used profile

+ Feature: Option to not store password

~ Change: Add files/URLs to GUI if connection fails for commandline load

v0.1.1.1 (2009-06-03)

* Fix: Properly percent-encode added URLs

v0.1.1.0 (2009-05-29)

+ Feature: Associate with .torrent files

+ Feature: Select profile to use from commandline

~ Change: Rename the "Add" button to "Add to uTorrent"

~ Change: Show an error dialog when connection to a server fails

* Fix: Use INI file in the uTorrent Adder directory, not the working directory

v0.1.0.0 (2009-05-28)

^ Initial release

Link to comment
Share on other sites

  • Replies 82
  • Created
  • Last Reply

Very suave, rico suave :D

Of course it's UPX packed so it doesn't have a footprint larger than the uT exe ;)

OMG, and it supports Ctrl-Tab ><

Small change: Could you change the Add button text to something else or add "torrent". Since the app starts on options, it's only slightly intuitive that the +/- next to the drop-down are for the profile option.

Question: Is there any reason add-from-url shouldn't populate the Source URL column, like Ctrl-U does from the window??

Link to comment
Share on other sites

I guess adding by URL from WebUI doesn't reuse all of the code used by the corresponding feature within the main µTorrent UI.

Ctrl+Tab indeed... I spend too much time polishing the UI on my projects... <_<

After a bit of pondering, I still don't feel like the +/- on the Options tab could be confusing, considering how there are Files/URLs tabs that have clear uses/meanings :x

Edit: Oh, reading comprehension fail. You meant that big "Add" button at the bottom... I'll see what I can do about it.

Link to comment
Share on other sites

Great!

I tried to make this myself but I ran into limits with IE's ActiveX object. It doesn't like null chars when uploading files.

Bug: When associating a file and opening it it looks for (and creates when not found) uTorrentAdder.ini in the dir where the .torrent file is located.

Feature: Pick profile to use from command line.

I'd like to add torrents to two different machines by making two different file associations, right now I use two separate copies of uTorrent Adder for this even though uTorrent Adder can handle multiple profiles.

Feature: "Associate with .torrent files" button.

Link to comment
Share on other sites

All requested changes have been made, and will be released pending an incubation period to ensure it all works correctly. The INI bug is actually rather critical, though, so I'll try to get the next build out ASAP.

Edit: Released. See first post.

Link to comment
Share on other sites

  • 2 months later...

suppose somebody was to get banned from a certain tracker.....

could this be a reasonable workaround granted they had another account at that same tracker?

if somebody had created another account at previously banned tracker and was accessing the tracker from a different pc and downloading .torrent files and then sending them to banned pc to then load into client like normal...would something like this eliminate the need to email the .torrent and all that garbage?

Link to comment
Share on other sites

Not sure what you're asking. If the computer running µTorrent has an IP address that was banned by a tracker, then just getting the .torrent file from another IP wouldn't magically get the previously-banned IP access to the tracker again. Unless it was only an account ban, in which case, this application really wouldn't make a difference one way or another.

Link to comment
Share on other sites

If you are banned on a tracker take it up with their admins. If they banned you for a unfair reason just stay polite, and if you have friends at the tracker ask if they can put in a good word for ya. If you were banned for a good reason (invite selling) don't come asking here for help.

In fact this app will alert the admins that both IPs (the one of the PC running utorrent and the one on which you use utorrent adder) are linked and probably belong to the same person.

Link to comment
Share on other sites

Not sure what you're asking. If the computer running µTorrent has an IP address that was banned by a tracker, then just getting the .torrent file from another IP wouldn't magically get the previously-banned IP access to the tracker again. Unless it was only an account ban, in which case, this application really wouldn't make a difference one way or another.

it's more than an account ban (on the site) because if i open up a different browser (no cookies no cache) and visit the site...i still get redirected to the "you've been banned" kinda page. it actually redirects me to the faq page BUT i am able to dl/ul with my same ip address so maybe the site has banned me but the tracker has not?

the tracker uses a different passkey system than most...each .torrent file downloaded is assigned a unique id/passkey which is then attached to the tracker announce url. as long as the not-banned account downloads the torrent file, i'm able to run it in my client on the banned-machine/ip and stats will get recorded accordingly in favor of the not-banned account.

the reason i brought this up is because it gets very annoying having to send a torrent file through email every time i want to download something from that tracker i thought maybe this app would do essentially the same thing. i really didnt mean to hijack this thread with something so trivial

as for salvaging the banned account by speaking with site staff....not gonna happen. my banning was the result of a spiteful admin and after countless email attempts (following their email protocol/format for account inquiry) i got the same response: "good members who follow the rules dont have these problems." the whole thing started in their forums over me saying that i refuse to use the search function before i ask a question. it's a long story and not worth typing out any further.

if this application will have absolutely no affect on my downloading situation please go ahead and delete these two posts

Link to comment
Share on other sites

Your whole site-but-not-tracker ban situation sounds odd, but meh. Poor site management if they aren't banning users completely :P

At any rate, to answer your core question... Yes, µTorrent Adder allows you to send .torrent files directly to µTorrent without having to go through email > attachment download > autoload. You just need to make sure to enable WebUI, set it up properly, and set up a default download directory in µTorrent.

Edit: By the way, I uploaded v0.1.1.1 a while ago, but completely forgot to update the first post to reflect that... and to announce the change. Done now. It was a minor fix anyhow.

Link to comment
Share on other sites

  • 1 month later...

Well, I likely won't turn to encrypting passwords, as that simply means the user would have to type in another password to get to their stored passwords, which defeats most of the purpose of storing passwords in the first place (convenience). I could always hardcode some key to use for encryption/decryption (so that passwords aren't in plaintext), but that can easily be worked around by those determined enough.

At any rate, I'll consider adding those options you've requested.

Link to comment
Share on other sites

  • 5 weeks later...

Got another feature request, a weird one: The ability to configure that the adder shouldn't submit the torrent to /gui/ but to another path (for example /utorrent1/).

Handy for those running the Reverse Proxy, Rewriter or Webui Shell to run multiple webui's on the same server (or simply just to change the path).

Link to comment
Share on other sites

Thanks, ultima.

It works perfectly for me. both a torrent and url in gui mode.

Here I got two questions(or requests) :

1. How can I add url with cookies like default webui?

utweb2.jpg

2. How can I add url on command line?

appname torrentname works well, but

appname url doesn't work.

Should I append a specific parameter to add url on command line?

I would appeciate it if got answers.

Thanks.

Link to comment
Share on other sites

  • 2 weeks later...

Trick or treat.

v0.2.0.0 (2009-10-30)

+ Feature: Add URL from commandline

+ Feature: Custom WebUI paths

+ Feature: Option to not store last used profile

+ Feature: Option to not store password

~ Change: Add files/URLs to GUI if connection fails for commandline load

Get it in the first post.

Crammed everything in today, so it might not be well tested, but I tried as many edge cases as I could think of, and it seemed to work okay.

Link to comment
Share on other sites

  • 4 weeks later...

It would be great if there was an 'Associate with Magnet URI' button. Also, confirmation that the torrent or magnet was successfully received by the WebUI would be nice.

I was thinking a small little box that would appear for 1 second (by default, user customizable time) in the bottom right hand corner of the screen, similar as to when someone logs into their IM client (eg: MSN, Trillian).

The app looks very promising so far, good job.

Link to comment
Share on other sites

Regarding confirmation, it's almost impossible with the WebUI API, as it doesn't return anything particularly useful to calling applications when a torrent (file/URL) is successfully received.

I don't know how likely it'll be that I implement magnet URI association, but I'll consider it. In the mean time, see if Magnet Handler works for you and suits your needs (I really haven't tested Magnet Handler, but its description would lead one to believe it works).

Edit: Well, that was easier than I'd thought. I've implemented magnet URI association in my local copy, and it seems to work okay.

Link to comment
Share on other sites

v0.2.1.0 (2009-11-27)

+ Feature: Associate with magnet URIs

+ Feature: Heuristically check if unqualified commandline option is URL or file

~ Change: Disable "Add to uTorrent" button if there is nothing to send

Don't kill me if this build breaks your computer or something :P

Yes... this post exudes tons of "confidence," but that's because I'm never comfortable with screwing with user's Registry settings (which, of course, magnet URI association requires).

Link to comment
Share on other sites

Wow - are flames supposed to shoot out the back my my box when I run this =P.

I have found a small bug when you click the "Associate With Magnet URI" button. This happens on a FRESH install of Windows (OS: XP 64) with the most recent updates. I tested the following twice and got the same results:

First:

Under HKEY_CLASSES_ROOT\Magnet - it seems to great 2x the Magnet Key. You won't see them side by side, but RENAME Magnet to anything (I chose Magnett to be pratical) and refresh. Now you will see Magnet pop up again as well as Magnett.

-> Magnett will now contain the keys and values that were created by uTorrent Adder, where Magnet will have no keys/values

Second:

uTorrent Adder did not work at first. Installed uTorrent, ran uTorrent Adder - Associated with URI again, then worked.

Note: Confused the hell out of me the first time I tested it and it worked without issues (this was the initial run when uTorrent was installed) and then it didn't upon a fresh start!

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.


×
×
  • Create New...