INTERACT FORUM

More => Old Versions => JRiver Media Center 25 for Windows => Topic started by: murray on August 10, 2019, 03:55:12 pm

Title: Core Command Shutdown PC worked on MC21 but won't on MC25
Post by: murray on August 10, 2019, 03:55:12 pm
Ive moved this post to a more approriate postion here:

I use MC Core Commands for everything on MC25 start, stop, fast forward, skip etc etc and all of them work except our shutdown on the PC which used to work on MC21.

I use MC Core Command 27001 as MCC_SHUTDOWN and it worked fine 90% of the time to close down the PC at the end of the night, however since we have moved to MC25 the PC will no longer shutdown with our command, can someone please help here?
Title: Re: Core Command Shutdown PC worked on MC21 but won't on MC25
Post by: murray on August 11, 2019, 07:28:33 pm
Can anyone help me on this please, I want to try and fix this problem?
Title: Re: Core Command Shutdown PC worked on MC21 but won't on MC25
Post by: gappie on August 12, 2019, 12:33:02 am
on my machine this works without a problem:

mc25.exe /mcc 27001,0

that is what you use, right?
do you have the mediaserver running?

 :)
gab
Title: Re: Core Command Shutdown PC worked on MC21 but won't on MC25
Post by: murray on August 12, 2019, 12:41:41 am
on my machine this works without a problem:

mc25.exe /mcc 27001,0

that is what you use, right?
do you have the mediaserver running?

 :)
gab


This is the command we use for shutdown, which used to work on MC21 but since we upgraded to MC25 a few days ago it stopped working. All other similar commands work. http://ip address:52199/MCWS/v1/Control/MCC?Command=27001&Parameter=0
Title: Re: Core Command Shutdown PC worked on MC21 but won't on MC25
Post by: gappie on August 12, 2019, 01:12:04 am
i dont know why it does not work. i dont use the webservice interface.
i saw that there is an other way to shutdown in the webservice:
"http://........:52199/MCWS/v1/Settings/Shutdown"
i guess with the appropriate ip adress. that worked on my machine.
Title: Re: Core Command Shutdown PC worked on MC21 but won't on MC25
Post by: Hendrik on August 12, 2019, 04:16:52 am
I think System Shutdown always needs authentication over MCWS. If you are running on the same machine an easy way to avoid that requirement is using the MC25.exe laucher. Otherwise your HTTP call will need to include authentication information.
Title: Re: Core Command Shutdown PC worked on MC21 but won't on MC25
Post by: mpg732 on August 13, 2019, 09:43:57 am
What are you using to send the command?  I use DemoPad and this command works every time for me on MC 25

GET /MCWS/v1/Control/MCC?Command=20007&Parameter=1 HTTP/1.1\x0D\x0AContent-Length: 0\x0D\x0A

I am sending it to port # 52199