Hi, I have a plugin that uses the GetTimelineSelectedIntervalRequest message to get the time interval. From the main window it works fine but from a secondary display it still seems to go to the main window playback controller even though I’m providing a FQID
I’m using a TimelineSelectedIntervalHandler to generate the request message for the GetTimelineSelectedIntervalRequest
private object _timelineSelectedIntervalReceiver;
//Sets up the receiver when the plugin is started
_timelineSelectedIntervalReceiver = EnvironmentManager.Instance.RegisterReceiver(new MessageReceiver(TimelineSelectedIntervalHandler), new MessageIdFilter(MessageId.SmartClient.PlaybackCurrentTimeIndication));
private object TimelineSelectedIntervalHandler(VideoOS.Platform.Messaging.Message message, FQID destination, FQID source)
{
Collection<object> \_timeIntervalObject;
if (source != null)
{
\_timeIntervalObject = EnvironmentManager.Instance.SendMessage(new Message(MessageId.SmartClient.GetTimelineSelectedIntervalRequest,source));
}
else
{
//Main Window
\_timeIntervalObject = EnvironmentManager.Instance.SendMessage(new Message(MessageId.SmartClient.GetTimelineSelectedIntervalRequest));
}
\_timeInterval = (TimeInterval)\_timeIntervalObject.First();
return null;
}
What am I doing wrong here?
Thanks
Ian