[mythtv] Scheduler needs a special case for CBS miniseries?

David Engel gigem at comcast.net
Thu Apr 6 02:04:52 UTC 2006


On Wed, Apr 05, 2006 at 09:47:26AM -0600, John P Poet wrote:
> On 4/5/06, David Engel <gigem at comcast.net> wrote:
> > I've put this on my TODO list, but it's not a very high priority for
> > me.  If you submit a patch, however, I'll take a look at it.
> 
> Are you sure you want me messing with that part of the code ;-)

I never said I would accept it! :)

> If I were going to attempt it, I would probably try something like:
> 
>   IF ProgramID ENDS IN "000" AND parttotal > 1
>   THEN APPEND ('A' + partnumber) ON THE END OF ProgramID;

That's an interesting approach I hadn't considered.  After looking at
the data in my current program table, it actually looks very
reasonable and in line with what is already being done, at least for
DataDirect.

The change I would make is to add the partnumber to the programid
numerically instead of appending it alphabetically.  For example,
xy123450000/part 1 wold become xy123450001 instead of xy123450000A.
That is what DataDirect appears to do, but I'll defer to Bruce Markey
who's our resident DataDirect expert.

> The next question would be where to add that bit of code....
> As the data is being put into the DB?
> As the scheduler is pulling the data out of the DB?

Definitely in mythfilldatabase.

David
-- 
David Engel
gigem at comcast.net


More information about the mythtv-dev mailing list