[mythtv-users] Odd behaviour when a program is scheduled to record by two schedules at once
Nick Craig-Wood
nick at craig-wood.com
Thu Jun 19 16:58:32 UTC 2008
Nick Morrott <knowledgejunkie at gmail.com> wrote:
> On 18/06/2008, Nick Craig-Wood <nick at craig-wood.com> wrote:
> > I've got a bit of an odd problem with mythtv which I'm having
> > difficulty finding the solution to! Probably because I'm having
> > difficulty explaining the problem in once sentence...
> >
> > I'll give a specific example...
> >
> > I have a recording schedule which records "House" at high priority (+8).
> >
> > * Record at any time on any channel.
> > * Priority: 8
> >
> > I also have a power search which records any programs on in the
> > evening which have a high rating. This schedule has a low priority
> > (-4) so it doesn't interfere with anything else.
> >
> > * Record at any time on any channel.
> > * Power Search
> > * Search phrase: HOUR(program.starttime) >= 19 AND HOUR(program.starttime) <= 23 AND program.stars >= 0.67
> > * Priority: -4
> >
> > I get my listing data from Radio Times, and they have recently started
> > giving the RT choices of the day a high rating which is fantastic and
> > exactly what I want for filling up the box with good TV.
>
> That wasn't them, that was me :) I updated the grabber so that
> anything recommended by the RT was given maximum star-rating (but
> different metadata to show it was a RT choice, and not a film rating).
Excellent - thank you very much :-) It is exactly the feature I always
wanted!
> > However the problem comes when "House" is a Radio Times choice of the
> > day (which it often is).
> >
> > What happens then is that one program is scheduled to record by two
> > recording schedules. What I'd expect to happen is that the high
> > priority one would win and "House" would definitely be recorded.
> > However what actually happens is that the low priority recording
> > schedule wins, and "House" is scheduled to record with a priority of
> > -4. This then means that isn't recorded because there are other
> > recordings of higher priority at the same time which is absolutely not
> > what I want to happen (my wife will kill me!).
> >
> > I'm running 0.20.2.svn20071021-0.2 which isn't the latest version, so
> > perhaps this is fixed in the latest version?
> >
> > I could perhaps re-number or re-order the recording schedules to get
> > them to activate in the other order - would that help?
>
> What is the output from
>
> # mythbackend --printsched
>
> for the House entries? It might make things a lot clearer as to why
> your rules are not working as intended. We need to see what the
> 'final' priority is for your recording rules (that is not always the
> priority you assign in the rule). If you have an assigned additional
> recording priority to all Power Searches, it could cause the final
> rule priority to trump your regular House rule, and win out.
Here are all the "House" recordings... Note that most of them are
about 8 but some are -1 and -3 - I think these are the troublesome
ones.
I add and subtract a few points for what channel things are on, hence
the fact that they aren't all +8 or -4.
Title - Subtitle Chan ChID Day Start End C I T N Pri
House - "No Reason" 503 2527 19 19:55-21:05 0 0 A P 8/0
House - "Living the Dream" 5 2514 19 20:55-22:05 2 2 O 2 -1/0 <-- problem here
House - "Occam's Razor" 5 2514 20 12:40-13:50 0 0 A P 9/0
House - "No Reason" 503 2527 21 18:55-20:05 0 0 A P 8/0
House - "Euphoria Pt 2" 503 2527 21 20:55-22:05 0 0 A P 8/0
House - "Forever" 503 2527 21 21:55-23:05 0 0 A P 8/0
House - "Who's Your Daddy" 503 2527 21 22:55-00:05 0 0 A P 8/0
House - "No Reason" 503 2527 21 23:55-01:05 0 0 A P 8/0
House - "Euphoria Pt 2" 503 2527 22 14:55-16:05 0 0 A P 8/0
House - "Forever" 503 2527 22 15:55-17:05 0 0 A P 8/0
House - "Who's Your Daddy" 503 2527 22 16:55-18:05 0 0 A P 8/0
House - "No Reason" 503 2527 22 17:55-19:05 0 0 A P 8/0
House - "Maternity" 5 2514 23 12:40-13:50 0 0 A P 9/0
House - "Damned If You Do" 5 2514 24 12:40-13:50 0 0 A P 9/0
House - "The Socratic Method" 5 2514 25 12:40-13:50 0 0 A P 9/0
House - "Fidelity" 5 2514 26 12:40-13:50 0 0 A P 9/0
House - "House's Head" 5 2514 26 20:55-22:05 1 1 A 1 -3/0 <-- problem here
House - "Poison" 5 2514 27 12:40-13:50 0 0 A P 9/0
House - "DNR" 5 2514 30 12:40-13:50 0 0 A P 9/0
House - "Histories" 5 2514 01 12:40-13:50 0 0 A P 9/0
House - "Detox" 5 2514 02 12:40-13:50 0 0 A P 9/0
> (I'd also recommend upgrading to 0.21-fixes if possible.)
That is my next plan but I need to find a bit of free time first!
Regards
Nick
--
Nick Craig-Wood <nick at craig-wood.com> -- http://www.craig-wood.com/nick
More information about the mythtv-users
mailing list