[mythtv-users] Channel subscription?
chris at cpr.homelinux.net
chris at cpr.homelinux.net
Sun Nov 20 18:06:05 EST 2005
On Sun, Nov 20, 2005 at 04:34:02PM -0500, Michael T. Dean wrote:
> From programs/mythfrontend/customrecord.cpp:
>
> First Episodes (complete example for Data Direct)
> program.previouslyshown = 0
> AND program.programid LIKE 'EP%0001'
> AND DAYOFYEAR(program.originalairdate) =
> DAYOFYEAR(program.starttime)
I think I would skip the day comparison. According to the HOWTO files
I've seen, the previously shown field is automatically set to 1 if the
original date is more than 14 days prior to the starttime. In Canada
it's quite common for the Canadian network to show a series premiere on
a different day than the American stations so an exact match would fail
even though the show is obviously new. The use of programid instead of
syndicatedepisodenumber makes sense, though.
--
Joke template: Three guys walk into a bar. One of them is a wee bit
stupid, and the whole scene unfolds with a tedious inevitability.
More information about the mythtv-users
mailing list