Hi
trying to write a TV server plugin that just GETS the title of the recorded show when it just starting to record. How do I get the title?
The below code bails on Log.Wri.. so I am missing something but what?
void events_OnTvServerEvent(object sender, EventArgs eventArgs)
{
TvServerEventArgs tvEvent = (TvServerEventArgs)eventArgs;
switch (tvEvent.EventType)
{
///RecordingStarted is called when the recording is started
case TvServerEventType.RecordingStarted:
Log.WriteFile("DEBUG:rec started:" + tvEvent.Recording.Title);
break;
}
}
trying to write a TV server plugin that just GETS the title of the recorded show when it just starting to record. How do I get the title?
The below code bails on Log.Wri.. so I am missing something but what?
void events_OnTvServerEvent(object sender, EventArgs eventArgs)
{
TvServerEventArgs tvEvent = (TvServerEventArgs)eventArgs;
switch (tvEvent.EventType)
{
///RecordingStarted is called when the recording is started
case TvServerEventType.RecordingStarted:
Log.WriteFile("DEBUG:rec started:" + tvEvent.Recording.Title);
break;
}
}