On 12/30/06, Duncan Webb <[EMAIL PROTECTED]> wrote:
> Justin Wetherell wrote:
> > Actually, try this patch instead.
>
> Have you ever done any game programming? The algorithm is the same as
> when a sprite is touching or over an object, except in this case
> everything is a line and there are only two points to check.
>
> All that is needed is a sorted list of programmes, sorted by start time
> and a loop. You don't need any SQL queries, this is overkill.
>
> However, what is needed is a way to show when two or more programs
> overlap, so an extra field in the TvProgram object is required to
> indicate this condition. Then the TV guide, scheduled recordings,
> favourites and the webserver need to indicate this probable with a
> yellow/orange background. Oddly, this is the hard part.
>
> I've added overlap to the TvProgram object, so it can be accessed and
> set with prog.overlap. I have already done some of this code in the
> wakeupserver I wrote.

Isn't that conflict, rather than multiple copies of the same programme
being recorded, though? Both are pretty important.

It'd also be nice (if we're making the background of the listings grid
changable) to shade-out programmes in the past.

Cheers,

Andrew

-- 
Andrew Flegg -- mailto:[EMAIL PROTECTED]  |  http://www.bleb.org/

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Freevo-devel mailing list
Freevo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to