Terminal Client

Discussion of Transmission that doesn't fit in the other categories
Post Reply
Boblemarin
Posts: 1
Joined: Sun Nov 01, 2009 7:20 am

Terminal Client

Post by Boblemarin »

Hello.

I am running Transmission on a headless server and access it via SSH.
I was wondering how to start the client in terminal to obtain the result displayed on the homepage...

Image

I know how to use the "transmission-remote -l " command but it only displays a static view of the files.

Regards.
Lam
Posts: 2
Joined: Sat Nov 21, 2009 10:46 am

Re: Terminal Client

Post by Lam »

I am also interested in this. :?
Rolcol
Posts: 337
Joined: Sun Aug 10, 2008 8:00 am

Re: Terminal Client

Post by Rolcol »

Edit: Seems like the forum replaces "f-agga" as "lucky charms" and it's messing up the link:
http://github.com/fagga/transmission-remote-cli

That's listed under the addons link on the main page. http://www.transmissionbt.com/resources.php
Last edited by John Clay on Wed Nov 25, 2009 3:05 am, edited 1 time in total.
Reason: Link fixed :)
Lam
Posts: 2
Joined: Sat Nov 21, 2009 10:46 am

Re: Terminal Client

Post by Lam »

Thank you very much Rolcol! :)
TheBigYahi
Posts: 13
Joined: Fri Jan 29, 2010 3:16 pm

Re: Terminal Client

Post by TheBigYahi »

Having an issue getting transmission-remote-cli working. I installed the required packages from http://github.com/fagga/transmission-remote-cli and created a config file, but now every time I run it I get this error:

Code: Select all

YahiSheeva:/usr/local/bin# transmission-remote-cli.py
Traceback (most recent call last):
  File "/usr/local/bin/transmission-remote-cli.py", line 2193, in <module>
    config.get('Connection', 'password')))
  File "/usr/local/bin/transmission-remote-cli.py", line 218, in __init__
    self.wait_for_torrentlist_update()
  File "/usr/local/bin/transmission-remote-cli.py", line 503, in wait_for_torrentlist_update
    self.wait_for_update(7)
  File "/usr/local/bin/transmission-remote-cli.py", line 513, in wait_for_update
    if self.update(0, update_id): break
  File "/usr/local/bin/transmission-remote-cli.py", line 242, in update
    tag = self.parse_response(response)
  File "/usr/local/bin/transmission-remote-cli.py", line 260, in parse_response
    t['seeders']  = max(map(lambda x: x['seederCount'],  t['trackerStats']))
ValueError: max() arg is an empty sequence
I can tell that my Python is working because I can pass parameters to transmission-remote ( # transmission-remote-cli -- -l). I would post this as an issue on github, but I'm pretty sure the problem is PEBCAK. What am I missing?
Morcegolas
Posts: 3
Joined: Sun Dec 19, 2010 10:36 am

Re: Terminal Client

Post by Morcegolas »

Everytime I try to run it says:

Code: Select all

File "transmission-remote-cli.py", line 6
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    ^
SyntaxError: invalid syntax
Can you help me?
blacke4dawn
Posts: 552
Joined: Sun Dec 13, 2009 10:44 pm

Re: Terminal Client

Post by blacke4dawn »

Morcegolas wrote:Everytime I try to run it says:

Code: Select all

File "transmission-remote-cli.py", line 6
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    ^
SyntaxError: invalid syntax
Can you help me?
Looks like you got a webpage or xml file instead of the python script, try downloading again.
Morcegolas
Posts: 3
Joined: Sun Dec 19, 2010 10:36 am

Re: Terminal Client

Post by Morcegolas »

@blacke4dawn

I download again the file but it keep storing the wrong file, so I copy/paste the content, saved and it worked.

Thanks.
Morcegolas
Posts: 3
Joined: Sun Dec 19, 2010 10:36 am

Re: Terminal Client

Post by Morcegolas »

This terminal cliente is awsome. Good work! Must love it! ;)

Thanks.
Post Reply