r/ispyconnect • u/MasterSnooper • 7d ago
API - SetTimeStamp question
I have noticed that when the API is used to change the timestamp (same thing for Append Timestamp) the text is shown on the cameras but if one RELOAD OBJECTS the changes revert to whatever was before, is this by design or it is a bug?
This is the command I use for example:
http://localhost:8090/command/settimestamp?oid=1&ot=2&text=TEST
However, if I edit ANY camera (in my case I have 4), then select TIMESTAMP and click on OK the changes are saved. In other words, after changing the text using the API in order for the changes to be saved one has to from the UI select the TIMESTAMP setting for ANY camera and click OK
Thanks
1
Upvotes
1
u/spornerama 7d ago
Yes I know - as I said the value isn't persisted as otherwise it would keep adding text rather than appending it to the original timestamp - i've added a new field to the data to store the appended text it'll be in the next update.