Possible to pass monitor name to nph-zms instead of ID?

Forum for questions and support relating to the 1.30.x releases only.
Locked
haus
Posts: 213
Joined: Thu Oct 11, 2007 5:10 am

Possible to pass monitor name to nph-zms instead of ID?

Post by haus »

This didn't come up in search, but I'm wondering if, when requesting a single image from nph-zms, instead of:

/cgi-bin/nph-zms?mode=single&monitor=3

we could use something like

/cgi-bin/nph-zms?mode=single&monitor_name=Doorway

I tried a few iterations but it doesn't seem to work.

I have a script that pulls a couple of images into a directory for people to view (the script runs as a cron job; they can't run or control it directly), and if I change monitor IDs around the wrong images get sent to the directory. Where they are supposed to be able to see a doorway they may end up seeing a loading dock, or side gate, etc. I figured if I could reference monitors by name instead of ID, if the name "breaks" then the image will simply fail.
User avatar
iconnor
Posts: 2900
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Possible to pass monitor name to nph-zms instead of ID?

Post by iconnor »

It can be made do work that way but doesn't currently.
Locked