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

John P Poet jppoet at gmail.com
Mon May 22 00:42:17 UTC 2006

On 4/5/06, David Engel <gigem at comcast.net> wrote:
> 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

Hi David, Bruce,

Attached is a patch which modifies program ids which end with 0000 and
where the show has multiple parts.  I have not created a ticket for
this, because I wanted to make sure the was the approach you guys
wanted to take.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: ProgramID-multipart.patch
Type: text/x-patch
Size: 2107 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20060521/84c69a9e/attachment.bin 

More information about the mythtv-dev mailing list