I’m running OSMC on a Raspberry Pi 1. I have installed transmission, transmission-cli and transmission-remote packages. The command line remote is working as
transmission-remote-cli
returns the current state of torrents from transmission. When I try to add a torrent using
transmission-remote-cli -a http://downloads.raspberrypi.org/NOOBS_latest.torrent
I get the following error:
Usage: transmission-remote-cli [options] [-- transmission-remote options]
transmission-remote-cli: error: no such option: -a
All commands have been run as su. What am I doing wrong? Should/can I use a magnet link instead?
Ops, that was a typo in the post not the command. I still get the same error. Is there something I can do to correct the error or is there an alternative way of adding torrents using the command line.
Otherwise I don’t get why it can tell you that it’s an illegal parameter but when you enter it without then the command isn’t available. You can always try
Usage: transmission-remote-cli [options] [-- transmission-remote options]
transmission-remote-cli 1.7.0
Options:
-h, --help show this help message and exit
-v, --version Show version number and supported Transmission
versions.
-c CONNECTION, --connect=CONNECTION
Point to the server using pattern
[username:password@]host[:port]/[path]
-s, --ssl Connect to Transmission using SSL.
-f CONFIGFILE, --config=CONFIGFILE
Path to configuration file.
--create-config Create configuration file CONFIGFILE with default
values.
-n, --netrc Get authentication info from your ~/.netrc file.
--debug Everything passed to the debug() function will be
added to the file debug.log.
Do you have a config file in ~/.config/transmission-remote-cli/settings.cfg or somewhere containing the transmission user name, password, IP / host name, port? ( connection information )
For the greater picture, are you on the same local network as the Pi? Do you need remote command line access for adding torrents, or could you just use a simple browser ( http://IPofyourPi:9091 ) or Transmission Remote GUI? Please explain a little.
I have a a config.cfg file at ./etc/transmission-daemon/ containing password, username, port (9091), host (localhost) and path (/transmission/rpc). I access the Pi on the local network without authentication. I generally use the browser at IpAddress:9091 but am looking to use the command line for different reasons.
I removed transmission and associated packages and reinstall transmission, transmission-cli and transmission-remote-cli. Commands now working as needed. Thanks for the input everyone.