Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Is there a way to print MinimServer's configuration?
01-03-2018, 19:17 (This post was last modified: 01-03-2018 19:18 by haggis999.)
Post: #1
Is there a way to print MinimServer's configuration?
Whenever I've needed to post a copy of my MinimServer configuration to the forum I've had to do a screen grab and edit it in Photoshop. Is there an easier method, i.e. is there a way to print a copy of all the configuration settings?
Find all posts by this user
Quote this message in a reply
01-03-2018, 20:21
Post: #2
RE: Is there a way to print MinimServer's configuration?
You can use the mscript program to run the command 'props', then copy and paste the output. For information about mscript, see this page.

Also, I am planning to add a way to export the property settings to a file.
Find all posts by this user
Quote this message in a reply
01-03-2018, 23:45
Post: #3
RE: Is there a way to print MinimServer's configuration?
The scripting guide told me that Mscript.cmd could be found in a subfolder of MinimWatch on my Windows PC, so I opened up a command prompt, navigated to that subfolder and entered mscript -i, followed by props at the next prompt.

The result was as follows.
Server not available: localhost 9790
+:status=2

Needless to say, that left me none the wiser. I then thought perhaps I needed to run mscript on my Synology NAS, but the scripting guide tells me that this command is to be found within /var/packages/MinimServer/target/bin. I didn't get off the launch pad with that, as Filestation on my NAS fails to display a folder called var.

I probably need a bit more hand holding on this one...
Find all posts by this user
Quote this message in a reply
02-03-2018, 08:26
Post: #4
RE: Is there a way to print MinimServer's configuration?
If you are running mscript from a different machine than the machine running MinimServer, you need to use the -a option to specify the address of the machine running MinimServer (your NAS). For example, you can specify

mscript -a 192.168.1.20 -i

if your NAS has the IP address 192.168.1.20. See this section for some examples of different ways to run mscript.

The var folder is only accessible from a terminal window on the NAS. For what you need, it is simpler to run mscript from your Windows PC.
Find all posts by this user
Quote this message in a reply
02-03-2018, 10:00 (This post was last modified: 02-03-2018 10:00 by haggis999.)
Post: #5
RE: Is there a way to print MinimServer's configuration?
All sorted now. Many thanks for your help.

A less convoluted way for writing the configuration to a file would obviously be a benefit, but the mscript solution is still a lot quicker and more useful than my previous method.
Find all posts by this user
Quote this message in a reply
02-03-2018, 14:32
Post: #6
RE: Is there a way to print MinimServer's configuration?
Hi Simon,
It's only a minor issue, but it would be a little bit more convenient if the property listing generated by this mscript method was broken down into three groups to match the tabbed layout of the MinimServer Properties panel (i.e. Server, Advanced and System). Guessing which tab contains which property is not that easy.

However, if that's tricky to achieve then your time would be much better spent on other things!
Find all posts by this user
Quote this message in a reply
02-03-2018, 16:25
Post: #7
RE: Is there a way to print MinimServer's configuration?
The list is sorted alphabetically by property name and I don't intend to change this. When the file export facility is available, it will be sorted the same way.
Find all posts by this user
Quote this message in a reply
02-03-2018, 16:44
Post: #8
RE: Is there a way to print MinimServer's configuration?
No problem. As I said, it is only a minor preference and I am happy to live with the current layout.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


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