Is it possible to get access to the time line section in the playback tab? Want to replicate the Add to export list.. function but appear to not have access to the start/end time of the video selection. The existing Export feature is using this information so was hoping to access this also for my plugin?
There is unfortunately no method for getting the Timeline selected period in your Smart Client plugin.
I think it would be a very good idea to have this and I have put it in the development wish-list.
I need this function. Has it been implemented In the latest version?
There is a way to get this. You should use MessageId.SmartClient.GetTimelineSelectedIntervalRequest
You can see this used if you explore the Message Tester Tool plugin sample. https://doc.developer.milestonesys.com/html/index.html?base=samples/messagetester_sample.html&tree=tree_1.html
PS. I was responsible for a wrong reply stating that the functionality did not exist but was in a wish-list for future development work, I have removed this wrong reply. I apologize for the wrong reply.
Hello, Bo, and many thanks for the update.
I was wondering if any Milestone application message that I’m not aware of will notify me when the user enters timeline mode, or when the user changes the interval selection at the timeline, so I can then get the current timeline using GetTimelineSelectedIntervalRequest and use that info on my plugin.
I’m currently developing an export plugin, and I’m trying to automate the interval selection taking it directly from the timeline each time the user selects an interval. So far, I’m only able to do so if the user clicks on a different camera ViewItem (monitoring SelectedViewItemChangedIndication). I’m afraid I will have to implement a timer that checks it frequently looking for changes, which I think is not the best way.
Thanks in advance,
Adrian
Experimenting using the Message Tester tool plugin sample I observe.
- There is no message that signal that the user enter the timeline interval selection.
- There is a PlaybackCurrentTimeIndication message when ever the user change the interval selection.
PlaybackCurrentTimeIndication is often coming, primarily when the user playback video, so whether this can be used in combination with other properties and messages to safely identify when the user sets a timeline interval I am very unsure of.
Thanks a lot, Bo. I was just playing with Message Tester yesterday and I discovered the PlaybackCurrentTimeIndication message. I believe it’s a good enough approach, better than using a timer.
Kind regards,
Adrian