INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Core Command Shutdown PC worked on MC21 but won't on MC25  (Read 752 times)

murray

  • Citizen of the Universe
  • *****
  • Posts: 568
Core Command Shutdown PC worked on MC21 but won't on MC25
« 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?
Logged

murray

  • Citizen of the Universe
  • *****
  • Posts: 568
Re: Core Command Shutdown PC worked on MC21 but won't on MC25
« Reply #1 on: August 11, 2019, 07:28:33 pm »

Can anyone help me on this please, I want to try and fix this problem?
Logged

gappie

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4580
Re: Core Command Shutdown PC worked on MC21 but won't on MC25
« Reply #2 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
Logged

murray

  • Citizen of the Universe
  • *****
  • Posts: 568
Re: Core Command Shutdown PC worked on MC21 but won't on MC25
« Reply #3 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
Logged

gappie

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4580
Re: Core Command Shutdown PC worked on MC21 but won't on MC25
« Reply #4 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.
Logged

Hendrik

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10933
Re: Core Command Shutdown PC worked on MC21 but won't on MC25
« Reply #5 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.
Logged
~ nevcairiel
~ Author of LAV Filters

mpg732

  • Junior Woodchuck
  • **
  • Posts: 96
Re: Core Command Shutdown PC worked on MC21 but won't on MC25
« Reply #6 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
Logged
Pages: [1]   Go Up