INTERACT FORUM

More => Old Versions => JRiver Media Center 24 for Windows => Topic started by: mikefour on April 22, 2018, 06:40:48 am

Title: Request: MCWS ErrorFreeMode as a permanent option
Post by: mikefour 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
Title: Re: Request: MCWS ErrorFreeMode as a permanent option
Post by: Matt 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?
Title: Re: Request: MCWS ErrorFreeMode as a permanent option
Post by: mikefour 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
Title: Re: Request: MCWS ErrorFreeMode as a permanent option
Post by: mikefour 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".
Title: Re: Request: MCWS ErrorFreeMode as a permanent option
Post by: Matt 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.
Title: Re: Request: MCWS ErrorFreeMode as a permanent option
Post by: mikefour 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.
Title: Re: Request: MCWS ErrorFreeMode as a permanent option
Post by: Matt 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?
Title: Re: Request: MCWS ErrorFreeMode as a permanent option
Post by: Matt 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).
Title: Re: Request: MCWS ErrorFreeMode as a permanent option
Post by: mikefour on April 26, 2018, 10:07:41 am
Thank you