Archived

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

sasha_gu

webui extern adder

Recommended Posts

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) and magnets, automatically upload to a server, open a browser with the dialogue to select files and start downloading.

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/extAdder313

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

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 )

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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!

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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..

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites