Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Valid mscript -c commands (with recording in mind)
05-03-2024, 23:53
Post: #1
Valid mscript -c commands (with recording in mind)
Windows 10, desktop PC
In PowerShell I executed these two command lines and got these responses:

> C: \"Program Files"\MinimServer\bin\mscript.cmd -c stream.record KCSM
Cannot specify a script and -c
> C: \"Program Files"\MinimServer\bin\mscript.cmd -c rescan
+ * rescan
+ : status=0

First: In the documentation, have I missed a list of all currently valid commands that can follow mscript.cmd -c ?

Second: I can do a rescan with a task in Task Scheduler by slightly modifying the line above to this action:

"C: \Program Files\MinimServer\bin\mscript.cmd" -c rescan

I'd like Minimstreamer to start recording at a specified time while I'm not at the PC. Is it feasible with my line of attack here, either already or perhaps with expanded capability of mscript.cmd -c ?

(I've put some spaces in between special characters, and used the Verdana trick, in order to defeat the 403 Forbidden block.)
Find all posts by this user
Quote this message in a reply
06-03-2024, 09:11
Post: #2
RE: Valid mscript -c commands (with recording in mind)
To see a list of commands you can run with mscript, enter this command:

"C:\Program Files\MinimServer\bin\mscript.cmd" -c help

To control stream recording, you need to use the prop command to set the correct value for the stream.record property, just as you would do from the Properties dialog. For example, you can start a recording immediately using this command:

"C:\Program Files\MinimServer\bin\mscript.cmd" -c "prop stream.record=KCSM"


or you can schedule a recording for a later time using this command:

"C:\Program Files\MinimServer\bin\mscript.cmd" -c "prop stream.record=KCSM+1930-2130"


To check your current setting for stream recording, use this command:

"C:\Program Files\MinimServer\bin\mscript.cmd" -c "prop stream.record"
Find all posts by this user
Quote this message in a reply
11-03-2024, 05:25
Post: #3
RE: Valid mscript -c commands (with recording in mind)
Thank you. The goal was to wake the computer and have Minimstreamer start a recording. After wrestling with Windows Task Scheduler, the goal was reached. I posted a brief explanation at https://forum.minimserver.com/showthread.php?tid=7193
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)