[mythtv-users] schedule and soft roll-in roll-out

David Watkins watkinshome at gmail.com
Thu Oct 24 12:26:22 UTC 2013


On 24 October 2013 08:11, Peter D. <0123peter at gmail.com> wrote:

> Hi List,
>
> I'm not sure what is supposed to happen here and scheduling is insanely
> complex, but this does not look right to me.
>
> My test machine has one real tuner and five virtual tuners.  It is
> configured to have a soft shoulders.  (What is the correct term?)  i.e. to
> record an extra ten minutes past the end of a show and five minutes before
> the start of a show, if there is a virtual tuner available.
>
> I found a five minute show and told MythTV to record the shows before and
> after, but not the show itself.  To my thinking there should be a "soft"
> conflict, something to be avoided if possible, but acceptable if there are
> not enough virtual tuners.  The scheduler wanted them on the same virtual
> tuner - even though there were four unused virtual tuners.
>
> This particular case is not a serious problem, it is just the simplest
> example to demonstrate what I think is a problem.  Is it a bug?
>
> Selecting the five minute middle program as well should ask for three
> virtual tuners on the first pass, then if they are not available ask for
> two tuners on the second attempt, and finally settle for one tuner if that
> is all that is available.  (It uses two.)
>
> BTW: is there a "debug" theme or command that displays recorded time as
> well as show time?  Perhaps; <start time> (-<extra>) to <end time>
> (+<extra>), or (extra+)<recorded length>(+extra)?
>
> Output from mythbackend --printsched
>
> 2013-10-23 21:08:09.649761 C  mythbackend version: master
> [v0.28-pre-364-g6444664] www.mythtv.org$
> 2013-10-23 21:08:09.649812 C  Qt version: compile: 4.8.1, runtime: 4.8.1$
> 2013-10-23 21:08:09.649841 N  Enabled verbose msgs:  general$
> 2013-10-23 21:08:09.649876 N  Setting Log Level to LOG_INFO$
> 2013-10-23 21:08:09.662306 I  Added logging to the console$
> 2013-10-23 21:08:09.663724 I  Setup Interrupt handler$
> 2013-10-23 21:08:09.663760 I  Setup Terminated handler$
> 2013-10-23 21:08:09.663789 I  Setup Segmentation fault handler$
> 2013-10-23 21:08:09.663809 I  Setup Aborted handler$
> 2013-10-23 21:08:09.663834 I  Setup Bus error handler$
> 2013-10-23 21:08:09.663853 I  Setup Floating point exception handler$
> 2013-10-23 21:08:09.663880 I  Setup Illegal instruction handler$
> 2013-10-23 21:08:09.663917 I  Setup Real-time signal 0 handler$
> 2013-10-23 21:08:09.664079 N  Using runtime prefix = /usr$
> 2013-10-23 21:08:09.664091 N  Using configuration directory =
> /home/psd/.mythtv$
> 2013-10-23 21:08:09.664273 I  Assumed character encoding: en_AU.UTF-8$
> 2013-10-23 21:08:09.665158 N  Empty LocalHostName.$
> 2013-10-23 21:08:09.665222 I  Using localhost value of psd-GA-MA770-DS3P$
> 2013-10-23 21:08:09.706169 N  Setting QT default locale to EN_US$
> 2013-10-23 21:08:09.706347 I  Current locale EN_US$
> 2013-10-23 21:08:09.706465 N  Reading locale defaults from
> /usr/share/mythtv//locales/en_us.xml$
> 2013-10-23 21:08:09.719225 I  New static DB connectionDataDirectCon$
> 2013-10-23 21:08:09.726963 I  MythCoreContext: Connecting to backend
> server: 127.0.0.1:6543 (try 1 of 1)$
> 2013-10-23 21:08:09.731263 I  Using protocol version 77$
> 2013-10-23 21:08:09.738322 I  --- print list start ---$
> 2013-10-23 21:08:09.738343 I  Title - Subtitle                     Ch
> Station Day Start  End   S  C  I  T  N Pri$
> 2013-10-23 21:08:09.738543 I  The Undateables                       22
> ABC2 /  23 20:58-21:16  1  1  1  S  1 0$
> 2013-10-23 21:08:09.738619 I  I Want To Change My Body              22
> ABC2 /  23 21:21-22:50  1  1  1  S  1 0$
> 2013-10-23 21:08:09.738628 I  ---  print list end  ---$
> 2013-10-23 21:08:09.766135 I  New Client:  (#1)$
> Retrieving Schedule from Master backend.$
>
>
> --
> Peter D.
> Sig goes here...
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://www.mythtv.org/mailman/listinfo/mythtv-users
>
>
As I understand it the soft padding option was designed for spin up and
spin down of the "recording apparatus".  It is ignored by the scheduler.
 That's how you got your two programs recorded on the same virtual tuner.

I guess the reason your second test required two virtual tuners was because
it cant stop and start a recording at the same instant on the one virtual
tuner.

If you want to test your scenario properly you need to use hard padding
which is applied to your recording rule.  You can save pre and post
recording values so that they will be applied to all future recording
rules.  Current rules would have to be modified though.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20131024/55121f28/attachment.html>


More information about the mythtv-users mailing list