Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Updating the library
10-09-2015, 11:50
Post: #11
RE: Updating the library
(09-09-2015 21:01)simoncn Wrote:  There should be a scripting solution for Windows fairly soon. I will keep you posted.

Would it be possible for that scripting solution to invoke a rescan on my NAS via MinimWatch on the PC?

David
Find all posts by this user
Quote this message in a reply
10-09-2015, 17:46 (This post was last modified: 10-09-2015 17:48 by simoncn.)
Post: #12
RE: Updating the library
(10-09-2015 11:50)DavidHB Wrote:  Would it be possible for that scripting solution to invoke a rescan on my NAS via MinimWatch on the PC?

David

The solution I am working on would not support scripting for MinimWatch, only MinimServer.

I am also working on a web API for MinimServer and you might be able to invoke that from the PC using something like curl.
Find all posts by this user
Quote this message in a reply
11-09-2015, 00:21
Post: #13
RE: Updating the library
(10-09-2015 17:46)simoncn Wrote:  The solution I am working on would not support scripting for MinimWatch, only MinimServer.

Never mind. It was just a thought.

(10-09-2015 17:46)simoncn Wrote:  I am also working on a web API for MinimServer and you might be able to invoke that from the PC using something like curl.

This is much better news. A more fully featured web API would be really useful, as it would allow me to control MinimServer from the tablet where the control point resides.

Curl (which I was not previously aware of) looks interesting. I've had a quick look at the manual, and it is easy to see how a command to open the web interface would work. It's less easy to see how the rescan would be invoked, but as that would also depend on the design of the web interface, it's probably best to put that question to one side for now.

David
Find all posts by this user
Quote this message in a reply
11-09-2015, 10:24
Post: #14
RE: Updating the library
(11-09-2015 00:21)DavidHB Wrote:  [quote='simoncn' pid='17542' dateline='1441903570']The solution I am
This is much better news. A more fully featured web API would be really useful, as it would allow me to control MinimServer from the tablet where the control point resides.

The web API is not an interactive web page. The term "API" is an abbreviation for Application Programming Interface and a web API enables programmatic control of a server such as MinimServer using a web protocol such as HTTP (see this page).

Quote:Curl (which I was not previously aware of) looks interesting. I've had a quick look at the manual, and it is easy to see how a command to open the web interface would work. It's less easy to see how the rescan would be invoked, but as that would also depend on the design of the web interface, it's probably best to put that question to one side for now.

David

You would use curl to send an HTTP POST request to MinimServer (running on a different machine) to invoke an operation via the web API.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


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