Get previously recorded

Post Reply
sjeffrey
Posts: 93
Joined: Wed May 06, 2009 10:06 pm

Get previously recorded

Post by sjeffrey » Sat Jan 05, 2013 11:23 pm

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

User avatar
dot-i
Site Admin
Posts: 5848
Joined: Mon Oct 01, 2012 3:40 pm

Re: Get previously recorded

Post by dot-i » Sun Jan 06, 2013 1:52 pm

You can get the history per schedule. There is no global history actually.
I have the heart of a child. I keep it in a jar on my shelf. -- Robert Bloch
Image

sjeffrey
Posts: 93
Joined: Wed May 06, 2009 10:06 pm

Re: Get previously recorded

Post by sjeffrey » Mon Jan 07, 2013 12:45 am

Thanks, that should do it.

sjeffrey
Posts: 93
Joined: Wed May 06, 2009 10:06 pm

Re: Get previously recorded

Post by sjeffrey » Mon Jan 07, 2013 2:24 am

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?

User avatar
dot-i
Site Admin
Posts: 5848
Joined: Mon Oct 01, 2012 3:40 pm

Re: Get previously recorded

Post by dot-i » Mon Jan 07, 2013 9:14 pm

The history is indeed basic, and simply used to uniquely identify a previously recorded show. But it has no rich data anymore.
I have the heart of a child. I keep it in a jar on my shelf. -- Robert Bloch
Image

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests