Page 1 of 1

Get previously recorded

Posted: Sat Jan 05, 2013 11:23 pm
by sjeffrey
Hey guys,
I looked everywhere and couldn't find a way to retrieve all of previously recorded programs. I want to add the ability update previous recordings in Guide Enhancer so that we avoid getting duplicate recordings if one program has episode info and previous does not. Is this possible? The only way that it seems possible right now is by loading the file names of all recorded programs and getting program info one by one. This is not ideal as it would add a bunch of necessary overhead.

Thanks,
Stephane

Re: Get previously recorded

Posted: Sun Jan 06, 2013 1:52 pm
by dot-i
You can get the history per schedule. There is no global history actually.

Re: Get previously recorded

Posted: Mon Jan 07, 2013 12:45 am
by sjeffrey
Thanks, that should do it.

Re: Get previously recorded

Posted: Mon Jan 07, 2013 2:24 am
by sjeffrey
I had high hopes with this one but I don't think it can work.
Recorded programs are ScheduleRecordedPrograms which only contain Title and Episode. All my code is done using properties from GuideProgram (air date, episode number, etc). I don't think I'll be able to reuse the logic of getting episode info from the guide with recorded programs. Is the information available in the database?

Re: Get previously recorded

Posted: Mon Jan 07, 2013 9:14 pm
by dot-i
The history is indeed basic, and simply used to uniquely identify a previously recorded show. But it has no rich data anymore.