2011-07-13, 06:20 PM
The System plugin currently tracks what's recording and how many tuners are active.
It does this by iterating over:
This gives me the status of "proper" recordings, but doesn't let me know about tuners being used for Live TV. I know, however, that it's possible to dig those details out of the XML returned by:
I was wondering if the Live TV information is available by querying the API (as in the first example)? It doesn't matter if it's not, I just thought it might be a cleaner way of retrieving the information rather than having to parse the XML.
Thanks
Iain
It does this by iterating over:
Code:
foreach (ScheduledRecording rec in ScheduledRecording.LoadAll(false))
This gives me the status of "proper" recordings, but doesn't let me know about tuners being used for Live TV. I know, however, that it's possible to dig those details out of the XML returned by:
Code:
ScheduleHelperFactory.GetScheduleHelper().GetServerStatus()
I was wondering if the Live TV information is available by querying the API (as in the first example)? It doesn't matter if it's not, I just thought it might be a cleaner way of retrieving the information rather than having to parse the XML.
Thanks
Iain