|
Updating the library
|
|
10-09-2015, 11:50
Post: #11
|
|||
|
|||
| RE: Updating the library | |||
|
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? 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. |
|||
|
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 |
|||
|
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 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. 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. |
|||
|
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)

Search
Member List
Calendar
Help



