HTPC-Manager icon indicating copy to clipboard operation
HTPC-Manager copied to clipboard

Transmission integration

Open gborri opened this issue 12 years ago • 24 comments

Basic version for transmission on osx is now working

To-do:

  • [x] Test on unix (daemon)
  • [ ] Add confirm dialog to remove torrent button
  • [ ] Promt to delete files on torrent remove
  • [ ] Torrent add/upload option
  • [ ] Show nr of peers
  • [ ] Settings test

gborri avatar May 31 '13 16:05 gborri

Yes this is possible. Transmission has an Api that provides basic interaction https://trac.transmissionbt.com/browser/trunk/extras/rpc-spec.txt

Although i would rather work with a torrent app that supports all major operating systems (windows, linux, osx). Transmission is not available on windows.

I do not use torrents myself so i will not be working on this any time soon. If anyone would like to work on this feature, please do so and send me a pull request.

styxit avatar Jun 01 '13 14:06 styxit

A port of transmission is very much so available on Windows (http://sourceforge.net/projects/trqtw/) and there is not many other torrent client/servers providing a good embedded experience that you're probably looking for when setting up these kind of servers, especially available on all platforms.

fldc avatar Jun 08 '13 14:06 fldc

I think that most people that use torrents with SickBeard/CouchPotato use transmission as their client. Hopefully somebody can add support for it soon as it is the only thing holding me back from using this!

coolius avatar Jun 13 '13 12:06 coolius

Well, considering most the people who use this application stack host it in a LAMP box, yeah, Transmission would seem to be the order of the day. +1 for Transmission integration, but its not like a thing I "must" have.

ghost avatar Jun 13 '13 23:06 ghost

I guess that you will cover most users supporting both Transmission and uTorrent.

junalmeida avatar Jun 14 '13 18:06 junalmeida

Well Junal... You just start writing ;)

mbw2001 avatar Jun 14 '13 18:06 mbw2001

The problem with this is, i would also need to create a torrent searcher. Just like newznab is now. I do not know what torrent searcher to use right now.

This would also make it complicated for users having both sabnzbd and torrent (transmission) Then there would be 2 download applications.

Bottomline: this could be a good idea but we need to think this through.

styxit avatar Jun 16 '13 08:06 styxit

uTorrent would be highly appreciated too (as this is the most commenly used torrent client on windows)

http://www.utorrent.com/community/developers/webapi

jkaberg avatar Jun 29 '13 14:06 jkaberg

I think deluge would be the better fit to integrate with this project. It's written in python, open source and cross platform.

http://deluge-torrent.org/

thimslugga avatar Jul 12 '13 03:07 thimslugga

uTorrent integration would be great! This is the one thing stopping me from using this full time.

wjbeckett avatar Aug 07 '13 23:08 wjbeckett

I had a little time to work on this today

transmission-170218381

styxit avatar Aug 13 '13 22:08 styxit

Looks great! Any prospect to integrate uTorrent with the same features?

wjbeckett avatar Aug 14 '13 03:08 wjbeckett

I have to look into the uTorrent Api before i can 100% confirm that, but to support a windows torrent client i want to use uTorrent if possible.

styxit avatar Aug 14 '13 08:08 styxit

Basic torrent usage has been added to the master branch. Please let me know what you think and if it works for you.

styxit avatar Aug 14 '13 22:08 styxit

From now on this issue is Transmission only. For uTorrent integration see #71

styxit avatar Aug 14 '13 22:08 styxit

Thanks styxit, this works great on my Raspberry Pi with a transmission daemon running on debian-based Raspbmc.

Only thing missing is a dashboard widget! :+1:

coolius avatar Aug 15 '13 13:08 coolius

I am thinking about making some smaller, aesthetic changes to the Transmission UI, so styxit, if you have any preference out of these, please note :)

  • Add filtering (status, tracker, freetext) -- this would be done locally, probably faster than querying all the time from Transmission, also can be finetuned more easily
  • Add sorting (name, speed, ETA, progress)
  • Move some elements around (give speed its own columns, move delete/pause into a :hover element, move ETA after the progress column)
  • Some further cosmetic changes, text formatting, etc.

fonix232 avatar Nov 09 '13 00:11 fonix232

As long as it improves usability and can benefit all users it is fine with me.

I do not even use the transmission part myself. I created it because there were so many people asking for it and no one else was willing to do it at that time.

I would love to see your ideas!

styxit avatar Nov 09 '13 09:11 styxit

I dont know if its possible, but for all other applications I see you have an option for rpc through proxy.

In the config file of transmission, I have setup : "rpc-url: "/transmission/"

When i do a proxy & proxy reverse through port 80, on "domain.nl/transmission/" Transmission works without problems. But when I enter transmission settings in htpc manager, i cant get connection. So for example .. htpc manader needs to connect to "domain.nl/transmission/" on port 80 as thats the proxy / proxy reverse address..

Am i missing the option for url rewrite for transmission? Or am i doing something wrong? Sickbeard, couchpotato, sabnzbd don't have this problem as the url is configurable in htpc manager.

The ref for rpc can be found here: https://trac.transmissionbt.com/wiki/EditConfigFiles search for rpc-url

cyberb0b avatar Oct 23 '14 00:10 cyberb0b

http://ip:port/transmission/rpc is hardcoded into the module. Why are you accessing this via a reverse proxy and not directly?

Hellowlol avatar Oct 23 '14 01:10 Hellowlol

Okay so the proxy forward / reverse works by default on the name transmission.

The only thing that does not work is when I click the transmission link in the header of htpc manager , it does not open the proxy forward/reverse folder.. It just opens the main domain.

Why i proxy forward it all? Cause then I can reach it from the outside without opening additional ports.. When i'm on the boat, and I want to connect to home to htpc manager, I need to open up that port.If I route it through a proxy reverse.. Its " not" so obvious that im running transmission, and I don't need to be worried about blocked ports in the harbor.

So basically, what i have done is:

http://mydomain.nl/htpcmanager/ http://mydomain.nl/couchpotato/ http://mydomain.nl/sickbeard/ http://mydomain.nl/transmission/

All on port 80. all password secured. The need thing is all works through https as well.. if you just encrypt apache the right way.

If i have all these apps connecting through the above folders through proxy forward.. every app is available on the internet without me remembering ports and so on :).

cyberb0b avatar Oct 23 '14 01:10 cyberb0b

Ok, it's easy to fix.

Hellowlol avatar Oct 23 '14 06:10 Hellowlol

@cyberb0b Okei, it wasnt so easy to fix.. I have no idea how to solve issue regarding session id. Just a quick question do you change the transmission internal bathpath? Can you login to transmission via the reverse prox and give me the full url to transmission (just mask the domain name, i dont need that one)

Hellowlol avatar Oct 25 '14 23:10 Hellowlol

http://www.xxxxxxxx.nl:9091/transmission/web/ (not reachable from the outside) http://www.xxxxxxxx.nl/transmission/web/ (reachable from the outside)

in the config of transmission I have set "rpc-url" /transmission/
ref:
https://trac.transmissionbt.com/wiki/EditConfigFiles#RPC

This option is not available in the gui, I have set this in the config file.

Uhh.. probably you need to add /web/ behind it. transmission by default has its api on /transmission/ the webinterface on /transmission/web/ there is no forward between /transmission/ & transmission/web/ This is as designed, as i believe.

cyberb0b avatar Oct 26 '14 12:10 cyberb0b