INTERACT FORUM

Please login or register.

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

Author Topic: Request: MCWS ErrorFreeMode as a permanent option  (Read 1245 times)

mikefour

  • Junior Woodchuck
  • **
  • Posts: 58
Request: MCWS ErrorFreeMode as a permanent option
« on: April 22, 2018, 06:40:48 am »

There is an MCWS command http://localhost:52199/MCWS/v1/Configuration/ErrorFreeMode which supposed to configure MC to have less error windows which is beneficial if MC is in a headless server mode and you can't interact with those errors.
Can you add this command to the /MCC command line options, or as an option in MC settings? After restarting the computer it seems that this option does not stick and its being reset. Would it be possible that after being using this command (either the MCWS or the /MCC) to make this change permanent

Thanks
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42372
  • Shoes gone again!
Re: Request: MCWS ErrorFreeMode as a permanent option
« Reply #1 on: April 23, 2018, 08:29:02 am »

The value is only set for the run of the program.

I suppose we could save it into options and load it from options so it's sticky.  Would that be a good idea?
Logged
Matt Ashland, JRiver Media Center

mikefour

  • Junior Woodchuck
  • **
  • Posts: 58
Re: Request: MCWS ErrorFreeMode as a permanent option
« Reply #2 on: April 23, 2018, 09:07:13 am »

The value is only set for the run of the program.

I suppose we could save it into options and load it from options so it's sticky.  Would that be a good idea?
Yes thats exactly what I meant. Thank you
Logged

mikefour

  • Junior Woodchuck
  • **
  • Posts: 58
Re: Request: MCWS ErrorFreeMode as a permanent option
« Reply #3 on: April 26, 2018, 09:34:25 am »

Matt,

It seems that ErrorFreeMode is still not preserved in 24.0.19.
if I set it to 1 by issuing the MCWS command http://localhost:52199/MCWS/v1/Configuration/ErrorFreeMode?ErrorFree=1 I get a response "1". If I exit MC and run it again and then I issue the command http://localhost:52199/MCWS/v1/Configuration/ErrorFreeMode to retrieve the current settings in returns "0".
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42372
  • Shoes gone again!
Re: Request: MCWS ErrorFreeMode as a permanent option
« Reply #4 on: April 26, 2018, 09:39:50 am »

Matt,

It seems that ErrorFreeMode is still not preserved in 24.0.19.
if I set it to 1 by issuing the MCWS command http://localhost:52199/MCWS/v1/Configuration/ErrorFreeMode?ErrorFree=1 I get a response "1". If I exit MC and run it again and then I issue the command http://localhost:52199/MCWS/v1/Configuration/ErrorFreeMode to retrieve the current settings in returns "0".

That second call sets error free mode to off.  Not sure if that's right, but it's certainly what's happening.  The setting is saved and loaded properly.
Logged
Matt Ashland, JRiver Media Center

mikefour

  • Junior Woodchuck
  • **
  • Posts: 58
Re: Request: MCWS ErrorFreeMode as a permanent option
« Reply #5 on: April 26, 2018, 09:57:52 am »

That second call sets error free mode to off.  Not sure if that's right, but it's certainly what's happening.  The setting is saved and loaded properly.
I thought that this is the command that sets its status http://localhost:52199/MCWS/v1/Configuration/ErrorFreeMode?ErrorFree=1 and the command http://localhost:52199/MCWS/v1/Configuration/ErrorFreeMode only retrieve it. Please correct me if I am wrong.
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42372
  • Shoes gone again!
Re: Request: MCWS ErrorFreeMode as a permanent option
« Reply #6 on: April 26, 2018, 10:03:12 am »

I thought that this is the command that sets its status http://localhost:52199/MCWS/v1/Configuration/ErrorFreeMode?ErrorFree=1 and the command http://localhost:52199/MCWS/v1/Configuration/ErrorFreeMode only retrieve it. Please correct me if I am wrong.

The command always sets the error free mode.  Since you don't specify what to use for ErrorFree mode in the second call, it just uses "FALSE".

I suppose I could make it query only if it's not specified.  Would that be a good idea?
Logged
Matt Ashland, JRiver Media Center

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42372
  • Shoes gone again!
Re: Request: MCWS ErrorFreeMode as a permanent option
« Reply #7 on: April 26, 2018, 10:06:02 am »

Next build:
Changed: The MCWS call Configuration/ErrorFreeMode will only set the error free mode if an ErrorFree parameter is set (that way you can query by not specifying this parameter).
Logged
Matt Ashland, JRiver Media Center

mikefour

  • Junior Woodchuck
  • **
  • Posts: 58
Re: Request: MCWS ErrorFreeMode as a permanent option
« Reply #8 on: April 26, 2018, 10:07:41 am »

Thank you
Logged
Pages: [1]   Go Up