MinimServer Forum
Console - Printable Version

+- MinimServer Forum (https://forum.minimserver.com)
+-- Forum: MinimServer (/forumdisplay.php?fid=1)
+--- Forum: Support (/forumdisplay.php?fid=4)
+--- Thread: Console (/showthread.php?tid=1669)



Console - NWTStuff - 05-08-2014 13:38

I'm very new to minim server but I must say that the quality of sound I am getting is very very good. I would like to investigate more. Wink

The one thing I can't work out from the instructions is how to connect in console mode so that I have the line commands available. Undecided

I'm using Windows PC's and MiminServer Installed on both Windows and Synology NAs for now.

Can anyone post a link that helps; I've tried searching but not found the simple guide I need yet.Huh

Many Thanks in Advance

Kevin


RE: Console - simoncn - 05-08-2014 14:30

(05-08-2014 13:38)NWTStuff Wrote:  I'm very new to minim server but I must say that the quality of sound I am getting is very very good. I would like to investigate more. Wink

The one thing I can't work out from the instructions is how to connect in console mode so that I have the line commands available. Undecided

I'm using Windows PC's and MiminServer Installed on both Windows and Synology NAs for now.

Can anyone post a link that helps; I've tried searching but not found the simple guide I need yet.Huh

Many Thanks in Advance

Kevin

Welcome to the MinimServer forum!

You can install MinimWatch on Windows (see this page) and run it from a Windows command prompt. To do this, enter the following commands:

Code:
cd "\Program Files\MinimWatch\lib"
java -jar mwatch.jar --set minimwatch.view=console

For details of the MinimWatch commands you can use, see the second part of this section.


RE: Console - NWTStuff - 06-08-2014 09:12

Thanks for that.

I can do some real damage now Big Grin


RE: Console - MarmiteSandwich - 05-10-2015 23:09

(05-08-2014 14:30)simoncn Wrote:  You can install MinimWatch on Windows (see this page) and run it from a Windows command prompt. To do this, enter the following commands:

Code:
cd "\Program Files\MinimWatch\lib"
java -jar mwatch.jar --set minimwatch.view=console

For details of the MinimWatch commands you can use, see the second part of this section.

Just found this. Great. Now, can I get the console to process a text scripting file? E.g. one that says:

Rescan
Exit

Marmite


RE: Console - simoncn - 06-10-2015 09:35

(05-10-2015 23:09)MarmiteSandwich Wrote:  Just found this. Great. Now, can I get the console to process a text scripting file? E.g. one that says:

Rescan
Exit

Marmite

A full scripting capability for MinimServer will be available soon.

For now, you could use process input redirection for the MinimWatch console, for example:

cd "\Program Files\MinimWatch\lib"
java -jar mwatch.jar --set minimwatch.view=console <C:\myscripts\rescan.txt


where rescan.txt contains the MinimWatch commands that you want to run.

MinimWatch commands are case-sensitive, so you need to enter 'rescan' and 'exit' in lower case. Also, you need to start the script with a 'sleep' command to give MinimWatch enough time to discover MinimServer before issuing the 'rescan' command. It is advisable to use another 'sleep' command after the 'rescan' command to ensure that the 'rescan' command has enough time to complete its processing before MinimWatch exits. The following is working for me:

sleep 3
rescan
sleep 2
exit


The upcoming MinimServer scripting facility won't require these extra 'sleep' commands to be added.


RE: Console - MarmiteSandwich - 06-10-2015 10:13

(06-10-2015 09:35)simoncn Wrote:  
(05-10-2015 23:09)MarmiteSandwich Wrote:  Just found this. Great. Now, can I get the console to process a text scripting file? E.g. one that says:

Rescan
Exit

Marmite

A full scripting capability for MinimServer will be available soon.

For now, you could use process input redirection for the MinimWatch console, for example:

cd "\Program Files\MinimWatch\lib"
java -jar mwatch.jar --set minimwatch.view=console <C:\myscripts\rescan.txt


where rescan.txt contains the MinimWatch commands that you want to run.

MinimWatch commands are case-sensitive, so you need to enter 'rescan' and 'exit' in lower case. Also, you need to start the script with a 'sleep' command to give MinimWatch enough time to discover MinimServer before issuing the 'rescan' command. It is advisable to use another 'sleep' command after the 'rescan' command to ensure that the 'rescan' command has enough time to complete its processing before MinimWatch exits. The following is working for me:

sleep 3
rescan
sleep 2
exit


The upcoming MinimServer scripting facility won't require these extra 'sleep' commands to be added.

Brilliant
Marmite