webui extern adder (Page 1) / Web API / µTorrent Community Forums
 

#1 2011-09-18 06:37:49

sasha_gu
Member

webui extern adder

Hi.
I have created some app for uTorrent webui, i use it at my NAS.
It shows stadart webui and own "Add torrent" dialog in browser.
Features:
+Shows a clone of the native dialogue including a folders\files tree.
+Access to predefined folders.
+Automatically searches for folders in pred. folders with names similar to the name of the file torrents.
+help app "web_ext_add_client.exe" can open torrent files ( you can associate .torrent file with it), automatically upload to a server, open a browser and start a dialogue to download .
82342615.png
71785740.png
81562614.png

THIS SETTING MUST BE ENABLED:
uth.png


video of using:
http://www.youtube.com/watch?v=VzdoWAMDAXw
download for uTorrent 3.1.3:
http://bit.ly/extAdder

Last edited by sasha_gu (2013-01-18 09:43:21)

Offline

#2 2012-02-12 02:13:58

sasha_gu
Member

Re: webui extern adder

Update:
-some stability fixes
-improved search folders algorithm
http://bit.ly/raOYPg

Last edited by sasha_gu (2012-06-03 14:48:02)

Offline

#3 2012-05-25 02:43:26

sasha_gu
Member

Re: webui extern adder

Updated for version 3.1.3
With older will not work.:(

Offline

#4 2012-06-03 12:56:35

2xtreme
Member

Re: webui extern adder

Hey.

I tried your app but when i try to use it with a .torrent file it give me HTTP 401 Error.

I'm using utorrent 3.1.3 and the latest version of your app. Any tips?

Offline

#5 2012-06-03 14:47:18

sasha_gu
Member

Re: webui extern adder

You about web_ext_add_client.exe ?
check it's settings ( just start web_ext_add_client.exe  or edit web_ui_add_client.ini )

Offline

#6 2012-06-07 10:20:31

2xtreme
Member

Re: webui extern adder

sasha_gu wrote:

You about web_ext_add_client.exe ?
check it's settings ( just start web_ext_add_client.exe  or edit web_ui_add_client.ini )

I checked the settings. The ini file looks like this:

extAdd_Adress=http://<ipaddress>:<port>/gui
extAdd_User=<myusername>
extAdd_Password=<mypassword>
Utor_path=C:\Program Files (x86)\uTorrent\uTorrent.exe

If i take the /gui from the extAdd_Address it gives me a HTTP Error 400 if i leave it it gives the 401 that a I reported before.

Offline

#7 2012-06-07 11:06:26

sasha_gu
Member

Re: webui extern adder

no need "gui" , must be adress of web_ext_add.exe

like:

extAdd_Adress=http://192.168.1.2:40005
extAdd_User=admin
extAdd_Password=***
Utor_path=C:\Program Files (x86)\uTorrent\uTorrent.exe

when server settings is:

Utor_path=C:\Program Files\uTorrent\uTorrent.exe
Utor_AppData_path=C:\Users\Admin\AppData\Roaming\uTorrent
Utor_User=admin
Utor_Password=***
Utor_Port=40000
extAdd_User=admin
extAdd_Port=40005
extAdd_Password=***
Search_deep=3

Last edited by sasha_gu (2012-06-07 11:55:00)

Offline

#8 2012-06-07 11:30:48

2xtreme
Member

Re: webui extern adder

I correct the config files.

Now I have a new problem: When launching a .torrent with the web_add_ext_client the borwser window shows up. After a few seconds the download dialog shows up but when I select the folder and click OK the followig message appears: Prohibited directory! or wrong hWND!

Last edited by 2xtreme (2012-06-07 11:46:58)

Offline

#9 2012-06-07 11:53:24

sasha_gu
Member

Re: webui extern adder

screen will be helpful.
1) Check whether the file is loaded correctly as new.torrent, file name shows right?

Offline

#10 2012-06-07 12:06:55

2xtreme
Member

Re: webui extern adder

sasha_gu wrote:

screen will be helpful.
1) Check whether the file is loaded correctly as new.torrent, file name shows right?

The new.torrent it's generated on the server side and if I add it to utorrent manually it works. Using the web interface one of tow things happen: I press OK and nothing happens the download dialog stays there or a pop up window shows up with the error that I described in the last post.

I'll upload a screenshot in a minute.

Offline

#11 2012-06-07 12:13:08

sasha_gu
Member

Re: webui extern adder

Paste here the log at server side, files\folder list is correct?

Offline

#12 2012-06-07 12:22:52

2xtreme
Member

Re: webui extern adder

sasha_gu wrote:

Paste here the log at server side, files\folder list is correct?

The log:

SaveTo: X:\web_ui_add\new.torrent
UploadedLen=15978
Request API: _dc=1339100098961&ext=AddProc&action=start
Load: X:\web_ui_add\new.torrent
Window Text:
Request API: _dc=1339100104350&ext=AddProc&action=getfi&wnd=787414
Request API: _dc=1339100104431&ext=AddProc&action=getpl&srch=0&wnd=787414
Request API: _dc=1339100104457&ext=AddProc&action=getpl&srch=1&wnd=787414
Request API: _dc=1339100104458&ext=AddProc&action=getfl&wnd=787414
List  :70668
Header:804EA
Request API: _dc=1339100112966&ext=AddProc&action=prsok&tp=X%253A%255CFilmes%255CFEAR%25203%2520update%2520multiplayer.rar&lb=&ch0=false&ch1=false&ch2=false&wnd=787414

Request API: _dc=1339100116611&ext=AddProc&action=prsok&tp=X%253A%255CFilmes%255CFEAR%25203%2520update%2520multiplayer.rar&lb=&ch0=false&ch1=false&ch2=false&wnd=787414

Request API: _dc=1339100116884&ext=AddProc&action=prsok&tp=X%253A%255CFilmes%255CFEAR%25203%2520update%2520multiplayer.rar&lb=&ch0=false&ch1=false&ch2=false&wnd=787414

Request API: _dc=1339100118242&ext=AddProc&action=addhashs
Request API: _dc=1339100121889&ext=AddProc&action=addhashs
Request API: _dc=1339100122160&ext=AddProc&action=addhashs

I only have one directory in the config file. it's the X:\Filmes that you see in the screenshot below:

zoca2x.jpg

Offline

#13 2012-06-07 13:00:07

sasha_gu
Member

Re: webui extern adder

And if the same torrent file adds via browser everything is fine? Put a log too

Offline

#14 2012-06-07 14:15:06

2xtreme
Member

Re: webui extern adder

If I open the new.torrent with the utorrent instead of using a browser it works. If I use the utorrent own webui it works too. But if I use the web_ext_add_client or the Add Torrent option in the top left corner of the browser it won't work.

The log I provided has 3 attempts to submit the torrent. The first one was via client app the other two via Add Torrent option.

Request API: _dc=1339100112966&ext=AddProc&action=prsok&tp=X%253A%255CFilmes%255CFEAR%25203%2520update%2520multiplayer.rar&lb=&ch0=false&ch1=false&ch2=false&wnd=787414

Request API: _dc=1339100116611&ext=AddProc&action=prsok&tp=X%253A%255CFilmes%255CFEAR%25203%2520update%2520multiplayer.rar&lb=&ch0=false&ch1=false&ch2=false&wnd=787414

Request API: _dc=1339100116884&ext=AddProc&action=prsok&tp=X%253A%255CFilmes%255CFEAR%25203%2520update%2520multiplayer.rar&lb=&ch0=false&ch1=false&ch2=false&wnd=787414

Offline

#15 2012-06-07 15:28:11

sasha_gu
Member

Re: webui extern adder

Is server running ons same mashine as browser?
What OS ?
"Select All" ( most up checkbox) is normaly work?

Offline

#16 2012-06-07 15:37:47

sasha_gu
Member

Re: webui extern adder

Offline

#17 2012-06-09 04:03:04

2xtreme
Member

Re: webui extern adder

sasha_gu wrote:

It worked. Now everything is working OK. Thanks. smile

Offline

#18 2012-06-10 13:46:00

2xtreme
Member

Re: webui extern adder

Quick question, is it possible to associate the client with magnet links?

Offline

#19 2012-06-11 12:12:47

sasha_gu
Member

Re: webui extern adder

Now it  is possible:D But like in Utorrent file list is missing:(  Redownload new version of my app  and set client in registry at
HKEY_CURRENT_USER\Software\Classes\Magnet\shell\open\command
or other ways for non chrome browsers..

Last edited by sasha_gu (2012-06-11 12:13:05)

Offline

#20 2013-02-11 21:22:38

vze2mp9g
Member

Re: webui extern adder

sasha_gu wrote:

Now it  is possible:D But like in Utorrent file list is missing:(  Redownload new version of my app  and set client in registry at
HKEY_CURRENT_USER\Software\Classes\Magnet\shell\open\command
or other ways for non chrome browsers..

Your download links aren't working. Can you please post a new link?
Thank You.


if you don't stand for something, you'll fall for anything...
___________________________________________
OS: Windows 7 x32 Ultimate  V6.01  Build 7601  Service Pack 1||MoBo: ASUS P4P800-E Deluxe || CPU: Socket 478 for Intel(R) Pentium(R) 4  (Northwood) 3.00GHz [D1]|| Ram: 2GB of 400MHz Dual DDR RAM (Corsair) || GPU: Radeon HD4650 2Gb || Monitor: Acer H274HL (HDMI)

Offline

Board footer

Powered by FluxBB

©2013 BitTorrent, Inc. µTorrent is a trademark of BitTorrent, Inc.