INTERACT FORUM

More => Old Versions => JRiver Media Center 26 for Windows => Topic started by: Wull on March 30, 2020, 08:08:30 am

Title: using PuTTY to send commands to JRiver
Post by: Wull on March 30, 2020, 08:08:30 am
Just wandering if anyone's successfully used Putty to send commands 'network codes' to JR media centre. Basically at the moment i either use jremote or iRule on my iPad to control JR. But with iRule server closing anytime soon I would like to create a new iPad remote.

My problem so far is the IP address and port number that I use successfully with JRemote/iRule gets knocked back using PuTTY 'connection reset by peer' and I am unsure why??


Here are a couple of the codes that work with iRule:

play pause  MCWS/v1/Playback/PlayPause?Zone=-1&ZoneType=ID
stop           MCWS/v1/Playback/Stop?Zone=-1&ZoneType=ID
Title: Re: using PuTTY to send commands to JRiver
Post by: mattkhan on March 30, 2020, 08:38:29 am
not sure how putty works for this case, raw mode perhaps?

if you want a command line tool for talking to MCWS then curl is a common option and is downloadable on windows - https://curl.haxx.se/windows/

example

Code: [Select]
curl http://myusername:mypassword@myhchost:52199/MCWS/v1/Alive

Title: Re: using PuTTY to send commands to JRiver
Post by: Wull on March 30, 2020, 09:36:32 am
raw is what I've used in the past sending commands to my processor. Thanks Matt. I'll take a look at curl