INTERACT FORUM

Windows => Television => Topic started by: avid on December 12, 2023, 11:28:21 am

Title: MCWS GetRecordingScheduleXML defaults to one week
Post by: avid on December 12, 2023, 11:28:21 am
I tracked down a bug in my system to an unexpected default value in MCWS Television/GetRecordingScheduleXML.

The live generated documentation says:
Code: [Select]
RangeInHours: The number of hours of schedules to report starting from current hour. (default: -1)
This implies that all scheduled recordings will be returned, no matter how far in the future. It now appears that this value defaults to 168 (one week). I wanted two weeks (over the Christmas TV season) and I could not see all the recordings I had set. In my debugging, I actually assumed that the bug was in Television/SetRecording. But eventually I realised that this other call had worked.

For my preferred use, I need to pass RangeInHours=336. And that works just fine.

So ... Either the default should be to return all scheduled recordings as the doc implies. OR the doc should show the correct default value.
Title: Re: MCWS GetRecordingScheduleXML defaults to one week
Post by: Yaobing on December 12, 2023, 01:59:07 pm
Thanks for reporting this.

I changed it to
Code: [Select]
(default:  "168")For MC32.