Is it possible to read the contents of the export details?

I wrote a plugin for the smartclient that does an export.

It may happen that some of the cam is offline.

I would like to be able to read this information and generate a report of which cameras were active and which were inactive.

There is some other method of knowing this information, even outside the export process.

Thanks

If you want to know the current status of your cameras, then this link might be helpful - Status Viewer -

https://doc.developer.milestonesys.com/html/index.html?base=samples/statusviewer_sample.html&tree=tree_2.html

To export, it does not matter if a camera is alive. It needs to get a certain video from Recording server when you export video.

So let me show you one more sample, Data source, this sample demonstrates how to access the timing information for an Item.

https://doc.developer.milestonesys.com/html/index.html?base=samples/datasource_sample.html&tree=tree_1.html

Thanks for the reply.

In the export details, for example, it tells me that during the indicated period a camera was offline. Can I somehow read that message?

Can I query the “exportDetails” object from code?

I need to know if a camera is offline in a certain time frame.

Example of output they want to obtain:

Input:

From 2020-12-01 14:00:00

To: 2020-12-01 14:05:00

Output:

Cam 1: Online

Cam 2: Offline

Cam 1: Online

etc.

I also thought about reading the size of the exported file (“block0.blk”) to understand if something was exported or not. But it’s a bit of a crude system, which I don’t like very much.

Thnaks

Unfortunately, you cannot get the information from the export details dialogue in a MIP plugin.

OK, thanks. I try to infer it from the size of the exported file.

Thanks.

Gianmaria