<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
    <title></title>
  </head>
  <body bgcolor="#ffffff" text="#000000">
    On 17/03/11 02:50, Spencer Herzberg wrote:
    <blockquote
      cite="mid:AANLkTimRAPeuU+Kdz+q4C-vHrYZ5zEihKMSyC6NUQ3rr@mail.gmail.com"
      type="cite">Hi, is there a way to easily setup schedules for
      tuners? So that say Tuner A can't record anything from 5pm to 1am,
      and Tuner B from 10am to 12pm?
      <div><br>
      </div>
      <div>My setup has my master backend in the bedroom and the
        hd&nbsp;receiver&nbsp;is hooked up to my tv through my hdpvr. We watch tv
        at night and the Miss doesn't like to use the Mythtv frontend
        for live tv (yet). If I could just schedule that tuner to not be
        available between 5pm and 1am, that would be a perfect fix until
        I can get her to use the mythtv frontend.</div>
      <div><br>
      </div>
      <div>I have tried cron jobs with mythbackend&nbsp;<span
          class="Apple-style-span" style="font-family:
          Verdana,Arial,Helvetica;">--nosched but it seems that this
          will need to rebuild the recording schedules at the time the
          command is called which is not quite ideal. I want the tuner
          to not be available during certain time slots and this to be
          reflected in the "Upcoming Recordings" displays.</span></div>
      <div><span class="Apple-style-span" style="font-family:
          Verdana,Arial,Helvetica;"><br>
        </span></div>
      <div><span class="Apple-style-span" style="font-family:
          Verdana,Arial,Helvetica;">Thanks for the help!</span></div>
      <meta http-equiv="content-type" content="text/html;
        charset=ISO-8859-1">
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
mythtv-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a>
<a class="moz-txt-link-freetext" href="http://www.mythtv.org/mailman/listinfo/mythtv-users">http://www.mythtv.org/mailman/listinfo/mythtv-users</a>
</pre>
    </blockquote>
    I have a similar situation with my Sky + box being used for live TV
    most of the time. The way I've got around this is to have the
    Channel Change Script check a control file to see if it is OK to
    change channel or not (in my case it's only OK if it's changing
    channel in order to record a program, not if it's a "live TV"
    channel change). You could easily modify your channel change script
    to check the Time of Day, or, if you wanted to be able to do the
    same as me you can use the "Recording Pending" event to set the flag
    in a control file. The "Recording Pending" event is triggered about
    3 or 4 time in the minute or two before the recording is due to
    start, you can't use the "Recording Started" event (as would seem to
    be the obvious trigger to use) because it is triggered even when
    Live TV is started.<br>
    <br>
    Hope this helps,<br>
    Dave.<br>
    <br>
    Regards,<br>
    Dave.<br>
  </body>
</html>