Novik / ruTorrent

Yet another web front-end for rTorrent
Other
2.02k stars 407 forks source link

[Win] Add torrent files to ruTorrent from explorer #423

Closed nicobubulle closed 10 years ago

nicobubulle commented 10 years ago

From hapy.les...@gmail.com on June 03, 2010 16:25:39

Это удобняшка. Надоело мне добавлять файлы через веб интерфейс, особенно с непонятными названиями торент файлов, когда их переваливает за 5 штук. Намного удобнее что бы они добавлялись как и на обычном клиенте(обычным кликом на торент файле). Для этого написал простую програмку на С# которая делает тоже самое что POST запрос.

описание аттачей:

1) 1.reg Пример как зарегать прогу (асоциация расширения) + привязать этот класс надо на .torrent расширение 2) rtorrent.rar - архив проэкта вместе с ехе файлами (VS.NET 2010 Express) 3) rtorrent.exe - готовый бинарник

Attachment: 1.reg rtorrent.rar rtorrent.exe

Original issue: http://code.google.com/p/rutorrent/issues/detail?id=425

nicobubulle commented 10 years ago

From hapy.les...@gmail.com on June 03, 2010 08:14:54

забыл добавить параметры - rtorrent.exe [ruTracker root uri] [path to torrent file]

Ex: rtorrent.exe "http://127.0.0.1/tr/ "d:\1.torrent"

nicobubulle commented 10 years ago

From novik65 on June 03, 2010 08:46:32

Labels: -Type-Defect Type-Other

nicobubulle commented 10 years ago

From novik65 on June 04, 2010 07:08:46

На мой взгляд, полезность сей "удобняшки" несколько сомнительна. Для локального варианта watch директория rTorrent, как правило, расшарена по самбе. Соответственно, чтобы добавить торрент никаких программ не надо - достаточно copy. При доступе же из внешней сети в 100% случаев имеет место быть веб-авторизация. Которая Вашей программой не обрабатывается и не передается.

nicobubulle commented 10 years ago

From hapy.les...@gmail.com on June 04, 2010 08:02:56

По поводу локальных вариантов, обрисую ситуацию. Использование связки rTorrent+ruTracker на 1й машине я даже не рассматриваю. Обычная ситуация - когда у людей есть некий роутер(железяка или же машина под домашний сервер, в обязаности которой входит хранить файлы, раздавать инет на все приборы которые это потдерживают). И естественно вся это связка крутитса на сервере, что есть гуд.
Однако, лазим мы по сайтам с рабочего компъютера, качаем торрент файлы в первую попавшеюся папку(зачем мне мусор сохранять куда-то на сетевое хранилище?) и соответственно в данном случае требуетса передать торрент файл с моей машины на сервер. watch функция может мониторить папки на сервере, да хорошо....но доступа к ФС рабочей системы у него то нет. Да и в случае удаленного использования(через интернет) как Вы представляете себе протокол SMB? организовывать ради этого VPN? или закачать торрент файл через фтп? получаетса накладно..

"Которая Вашей программой не обрабатывается и не передается." Во-первых программа писалась(как и все програмы вообще) для своих нужд и свою конфигурацию сети. Выложеные исходники обычно означают: "модифицируйте и развивайте мысль".

Нащет авторизации: она бывает разная. Ну к примеру обычная http auth, ну или же Web Form. Пока что, у РуТоррента нет никаких стандартов на эту тему(а соотв и АПИ), поэтому включать это в программу кажетса немного безсмысленным.

Как и все программы, эта тоже будет развиватса со временем, и обрастать функционалом по мере необходимости(включая WebAuth, https support).

nicobubulle commented 10 years ago

From novik65 on June 04, 2010 08:04:52

но доступа к ФС рабочей системы у него то нет.

Есть. Роутер и рабочая машина находятся в локальной сети.

Да и в случае удаленного использования(через интернет) как Вы представляете себе протокол SMB?

Никак не представляю. Ваша программа этот момент тоже не решает.

Если хотите еще чему нибудь меня поучить, делайте это на форуме, пожалуйста. Здесь - не форум.

nicobubulle commented 10 years ago

From paulpba...@gmail.com on July 19, 2010 21:14:51

any chance of a guide on how to use this in English please as i can't get it to work

nicobubulle commented 10 years ago

From hapy.les...@gmail.com on July 20, 2010 02:49:08

@paulpbaker

try this one, previous version was conpiled for .NET Framework 4.0. This one was compiled for .NET 3.5. Also i attach cmd file, which can help u to register this program for extension ".torrent". Short guide:

1) Check if u have .NET Framework 3.5 (no checks is needed if u have Win7, Win7 support up to version .NET 4) 2) copy rtorrent.exe to folder, where u want to store this program ;) 3) modify cmd file: set PROGRAMPATH="d:\rtorrent.exe" <====== path to program, change this set HTTPPATH=" http://gate.home/tr/ " <====== url, which u use to open ruTracker in web Browser (with slash at end) 4) run cmd file, re-login and open torrent file(first time file will be unassigned, but Windows show rTorrent in list of available programs, select rtorrent and done.)

On my test environment all tests passed ok.

NOTE: Ex: rtorrent.exe

- path to ruTracker url, like http://127.0.0.1/ruTracker/ - path to torrent filename(incl. full file path), like c:\downloads\test.torrent **Attachment:** [1.cmd rtorrent.exe](http://code.google.com/p/rutorrent/issues/detail?id=425#hc9)
nicobubulle commented 10 years ago

From paulpba...@gmail.com on July 20, 2010 08:04:16

wow it really works haha thank you VERRRRRY much!!!

nicobubulle commented 10 years ago

From paulpba...@gmail.com on July 20, 2010 08:04:50

also is there a way to hide the command window when i open a .torrent file?

nicobubulle commented 10 years ago

From hapy.les...@gmail.com on July 20, 2010 08:15:59

no, this is not possible, but this window closed after 5 sec automatic.

nicobubulle commented 10 years ago

From paulpba...@gmail.com on July 20, 2010 08:26:39

how about to minimize it?

nicobubulle commented 10 years ago

From hapy.les...@gmail.com on July 20, 2010 08:32:31

i think here is a problem when lot of torrent files was opened at same time?

hm, in this case here is sense to write some GUI with silent working support. I will think about this.

nicobubulle commented 10 years ago

From paulpba...@gmail.com on September 01, 2010 17:40:51

any chance of it deleting the torrent after it's send it to rtorrent?

nicobubulle commented 10 years ago

From hapy.les...@gmail.com on September 02, 2010 05:06:13

yes, today i will implement this and silent mode too. Only if any error happening user will see message about this.

nicobubulle commented 10 years ago

From paulpba...@gmail.com on September 02, 2010 07:47:07

excellent thank you please post here when it's done :)

nicobubulle commented 10 years ago

From hapy.les...@gmail.com on September 02, 2010 12:39:51

Next version released.

What new:

rtorrent.exe = .NET Framework 3.5 Client Profile rtorrent_frm4.exe = .NET Framework 4.x+

Attachment: rtorrent_frm4.exe

nicobubulle commented 10 years ago

From hapy.les...@gmail.com on September 02, 2010 12:50:47

Re-uploaded

Attachment: rtorrent.exe

nicobubulle commented 10 years ago

From paulpba...@gmail.com on September 02, 2010 13:24:37

nice ty :)

nicobubulle commented 10 years ago

From flydiverny on January 04, 2011 03:09:56

@hapy.lestat Can you upload the source of your latest version?

I made some changes to your first version to support Basic Authentication since I use that on my rutorrent.

nicobubulle commented 10 years ago

From hapy.les...@gmail.com on January 12, 2011 07:48:35

@flydiverny yes, i will. Anyway this feature support was planed before but no time to realize.

@note: In the future, this mini-project will be moved to SF.

nicobubulle commented 10 years ago

From Bhav...@gmail.com on January 13, 2011 16:11:09

Doesn't seem to work for me :( - No errors or anything.

If the ruTorrent is password protected (via webserver), but i am logged in already, will this affect it?

nicobubulle commented 10 years ago

From hapy.les...@gmail.com on January 13, 2011 23:50:53

@Bhavicp: Please wait for new build of application on this week. Basic authorization will be available there.

nicobubulle commented 10 years ago

From hapy.les...@gmail.com on January 14, 2011 07:18:18

topic is updated. Short description of update:

Example of command line: rtorrent.exe -url http://localhost/tr/ -file torrentfile [-http-username username] [-http-password password]

params in [] are optional.

nicobubulle commented 10 years ago

From hapy.les...@gmail.com on January 14, 2011 07:19:12

oh, i miss, binary can be downloaded from link: http://moonter.users.sourceforge.net/down/rutracker/rtorrent.exe Sorry :)

nicobubulle commented 10 years ago

From Bhav...@gmail.com on January 14, 2011 12:48:40

Awesome! Just one final thing hapy.lestat, would you be able to provide the updated .cmd file with the new http parms? As i'm not very good with it and tried but failed!

nicobubulle commented 10 years ago

From hapy.les...@gmail.com on January 15, 2011 03:03:55

try this one, to install updated params

Attachment: 1.cmd

nicobubulle commented 10 years ago

From pf.ziminski on July 14, 2011 02:49:30

Хорошая идея, странно, что её встретили категорично.

У меня немного другая ситуация и решил её по-другому. Домашний сервер находится за NAT'ом провайдера и снаружи до него не достучаться.

Поэтому я настроил почтовый клиент, который периодически проверяет внешний почтовый ящик на наличие в нём торрент-файлов.

Чтобы запустить торрент на скачку, его просто нужно отправить по e-mail. :)

Пример реализации: http://sites.google.com/site/pfzim0/htpc-xbmc

nicobubulle commented 10 years ago

From hapy.les...@gmail.com on February 28, 2012 07:55:00

Hi again. rTorrent tool is slightly updated. Functionality is same as previous, but source code is completely re-worked to make tool more stable and flexible.

Key features:

Download links:

Binary - http://rutorrentex.sourceforge.net/download/rtorrent.exe Readme - http://rutorrentex.sourceforge.net/download/readme.txt Register as *.torrent file handler - http://rutorrentex.sourceforge.net/download/reg_rutorrent.cmd !!Please read carefully "System Requirements" section in readme.txt file.

Have nice day ;)

H.L.

nicobubulle commented 10 years ago

From rotw...@gmail.com on March 19, 2012 06:38:06

please - add option to ignore invalid SSL certs for HTTPS urls

nicobubulle commented 10 years ago

From hapy.les...@gmail.com on March 26, 2012 17:06:10

@Invalid SSL: Added to "planed" list.

@new release: Just release version 0.0.0.21 with magnet links support (like used on the thepiratebay.se)

All information available at http://sourceforge.net/projects/rutorrentex/files/0.0.0.21/

nicobubulle commented 10 years ago

From hapy.les...@gmail.com on December 26, 2013 02:30:25

UPD.

Sources moving to https://github.com/hapylestat/rtorrent_agent Currently project are in frozen state :(

Novik commented 10 years ago

Chrome solution: https://chrome.google.com/webstore/detail/xirvik-torrent-to-seedbox/gljdkkichjgocpdmiaachhlfccddcjgb/ FireFox solution: https://addons.mozilla.org/en-US/firefox/addon/xirvik-torrent-to-seedbox-uplo/

TMTYD commented 6 years ago

thx