[mythtv-users] scheduler confusion

blind Pete 0123peter at gmail.com
Thu Aug 7 08:32:15 UTC 2014


Hi everybody, 

First point, the confusion could be all mine, it has happened before.  
If this is a RTFM, a link would be appreciated.  

Second, this might not be a scheduler question at all.  Are there 
different things that read the program guide, decide what can and 
can not be recorded, and allocate tuners?  Which part is the scheduler, 
and what is the other part called?  

That deals with both the words in the subject...  

Sometimes programs that I expect to be recorded do not get recorded.  
In this case the 7pm news on ABC1.  

There are three physical dvb-t tuners on two cards, each is configured 
for five virtual tuners.  15 total.  

Previously I have tried, and failed, to fix the problem by naming 
two of the physical tuners after my two favourite multiplexes.  There 
are six multiplexes to choose from.  The brute force solution is to 
buy another three tuners, but I am hoping to do better than that.  

First attempt, sorry about the long lines. 

mysql> select * from powerpriority\G
*************************** 1. row ***************************
priorityname: SBS
 recpriority: 1
selectclause: (channel.callsign LIKE 'SBS%' OR channel.callsign = 'NITV') AND cardinput.cardid = 'sbs'
*************************** 2. row ***************************
priorityname: abc
 recpriority: 3
selectclause: cardinput.cardid = 'abc' AND channel.callsign LIKE 'abc%' 
*************************** 3. row ***************************
priorityname: not_SBS
 recpriority: 1
selectclause: (channel.callsign NOT LIKE ('SBS%') AND channel.callsign <>  'NITV' ) AND  cardinput.cardinputid <> 'sbs'
*************************** 4. row ***************************
priorityname: not_ABC
 recpriority: 1
selectclause: channel.callsign NOT LIKE 'abc%' AND cardinput.cardid =  'sbs' 
4 rows in set (0.00 sec)

mysql>

And the annotated output from a recent "mythbackend --printsched"
Sorry about the very long lines, what is the correct way to handle long lines?  

2014-08-04 16:12:30.263040 C  mythbackend version: fixes/0.27 [v0.27.3-111-g5c76f33] www.mythtv.org
2014-08-04 16:12:30.263060 C  Qt version: compile: 4.8.1, runtime: 4.8.1
2014-08-04 16:12:30.263064 N  Enabled verbose msgs:  general
2014-08-04 16:12:30.263079 N  Setting Log Level to LOG_INFO
2014-08-04 16:12:30.274030 I  Added logging to the console
2014-08-04 16:12:30.274532 I  Setup Interrupt handler
2014-08-04 16:12:30.274542 I  Setup Terminated handler
2014-08-04 16:12:30.274549 I  Setup Segmentation fault handler
2014-08-04 16:12:30.274556 I  Setup Aborted handler
2014-08-04 16:12:30.274563 I  Setup Bus error handler
2014-08-04 16:12:30.274570 I  Setup Floating point exception handler
2014-08-04 16:12:30.274578 I  Setup Illegal instruction handler
2014-08-04 16:12:30.274589 I  Setup Real-time signal 0 handler
2014-08-04 16:12:30.274637 N  Using runtime prefix = /usr
2014-08-04 16:12:30.274650 N  Using configuration directory = /home/psd/.mythtv
2014-08-04 16:12:30.274727 I  Assumed character encoding: en_AU.UTF-8
2014-08-04 16:12:30.275109 N  Empty LocalHostName.
2014-08-04 16:12:30.275115 I  Using localhost value of PPlive
2014-08-04 16:12:30.327128 N  Setting QT default locale to EN_US
2014-08-04 16:12:30.327253 I  Current locale EN_US
2014-08-04 16:12:30.327339 N  Reading locale defaults from /usr/share/mythtv//locales/en_us.xml
2014-08-04 16:12:30.339708 I  New static DB connectionDataDirectCon
2014-08-04 16:12:30.343876 I  MythCoreContext: Connecting to backend server: 127.0.0.1:6543 (try 1 of 1)
2014-08-04 16:12:30.347599 I  Using protocol version 77
2014-08-04 16:12:30.376214 I  New Client:  (#1)
2014-08-04 16:12:30.385283 I  --- print list start ---
2014-08-04 16:12:30.385293 I  Title - Subtitle                     Ch Station Day Start  End   S  C  I  T  N Pri
2014-08-04 16:12:30.385391 I  Muscle Car                            73 7mate   04 16:11-16:39  1  2  2  A  2 -11
2014-08-04 16:12:30.385424 I  Horsepower TV                         73 7mate   04 16:39-17:00  1  1  1  A  1 -8
2014-08-04 16:12:30.385452 I  Mythbusters                           73 7mate   04 17:31-18:31  1  6  6  A  6 -10 First problem,
                                                                                                           ^     should be 2,3,4 or 5
2014-08-04 16:12:30.385478 I  QI                                    21 ABC1    04 18:29-19:00  1  0  0  A  P -6
2014-08-04 16:12:30.385503 I  Mythbusters                           32 SBS TWO 04 18:30-19:29  1  1  1  A  1 -9
2014-08-04 16:12:30.385530 I  ABC News                              21 ABC1    04 19:00-19:30  1  0  0  D  L -10
                                                                                                           ^     Don't like this, 6-15 free.
                                                                                                                 Watched it "live".
2014-08-04 16:12:30.385555 I  7.30                                  21 ABC1    04 19:30-20:00  1  1  1  D  1 -11
2014-08-04 16:12:30.385580 I  Cities of the Underworld              72 7TWO    04 19:33-20:35  1  6  6  A  6 -6
2014-08-04 16:12:30.385606 I  David Attenborough's Natural Curio    10 TEN Dig 04 19:34-20:36  1 11 11  A 11 -9
2014-08-04 16:12:30.385632 I  ABC News                              24 ABC New 04 20:00-20:31  1  2  2  D  2 -10 Should have been recorded at 7pm.
                                                                                                                 Killed it, when the time came.
2014-08-04 16:12:30.385657 I  The Simpsons                          11 ELEVEN  04 20:06-20:42  1 12 12  A 12 -10
2014-08-04 16:12:30.385683 I  Michael Mosley: Don't Worry, Be Ha    33 SBS 3   04 20:30-21:30  1  0  0  A  C -10 I did record this.
                                                                                                                 At 20:30 11 & 12 supposed to be in use
                                                                                                                 2 was "in use", until I killed it.
                                                                                                                 6-10 were availiable
                                                                                                                 At 21:30
                                                                                                                 1 & 2 not supposed to be in use, but were
                                                                                                                 11 was in use
                                                                                                                 6-10 were availiable
2014-08-04 16:12:30.385709 I  Michael Mosley: Don't Worry, Be Ha    30 SBS HD  04 20:30-21:30  1  0  0  A  C -10
2014-08-04 16:12:30.385735 I  Four Corners                          21 ABC1    04 20:30-21:15  1  1  1  A  1 -5  Killed this, because of later showing
2014-08-04 16:12:30.385760 I  Media Watch                           21 ABC1    04 21:15-21:29  1  2  2  A  2 -6
2014-08-04 16:12:30.385785 I  Torchwood                             11 ELEVEN  04 21:36-22:41  1  1  1  A  1 -8
2014-08-04 16:12:30.385811 I  South Park                            32 SBS TWO 04 22:10-22:40  1 11 11  A 11 -10
2014-08-04 16:12:30.385837 I  ABC News                              24 ABC New 04 22:32-23:00  1  0  0  D  E -10
2014-08-04 16:12:30.385862 I  Lateline                              21 ABC1    04 22:39-23:23  1  6  6  A  6 -9
2014-08-04 16:12:30.385889 I  Motor Mate: Classic Marathon Rally    73 7mate   05 04:59-05:59  1  0  0  A  x -13
2014-08-04 16:12:30.385915 I  Motor Mate: Classic Marathon Rally    73 7mate   05 10:59-11:57  1  0  0  A  x -13
2014-08-04 16:12:30.385941 I  Motor Mate: French GP                 73 7mate   05 11:57-13:00  1  0  0  A  x -13
                                                                                                                 Did record "Four Corners" at 11:00
                                                                                                                 After some prompting.
                                                                                                                 Shouldn't there be a "P" here?
2014-08-04 16:12:30.385968 I  Muscle Car                            73 7mate   05 16:16-16:38  1  2  2  A  2 -11
 [snip]
2014-08-04 16:12:30.388018 I  ABC News                              21 ABC1    08 19:00-19:30  1  0  0  D  L -10 Same problem on the 8th
 [snip]
2014-08-04 16:12:30.389237 I  ABC News                              21 ABC1    11 19:00-19:30  1  0  0  D  L -10 Same problem on the 11th
 [snip]

Thank you. 

-- 
testing
bP


More information about the mythtv-users mailing list