<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jan 20, 2016 at 11:34 AM, Hika van den Hoven <span dir="ltr"><<a href="mailto:hikavdh@gmail.com" target="_blank">hikavdh@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hoi Tobias,<br>
<div><div class="h5"><br>
Wednesday, January 20, 2016, 5:57:54 PM, you wrote:<br>
<br>
<br>
> I have a sql snipped to set the live TV starting channel<br>
> Am 20. Januar 2016 01:20:28 MEZ, schrieb Hika van den Hoven<br>
> <<a href="mailto:hikavdh@gmail.com">hikavdh@gmail.com</a>>:<br>
<br>
>     Hoi All,<br>
<br>
>     I already use the computer in my bedroom as a clock-radio. The server<br>
>     turns it on at the programmed time and starts the internal analog radio<br>
>     card.<br>
>     At present I'm thinking of moving to a smaller less energy consuming<br>
>     computer (I'm thinking about a Raspberry Pi) only I then will need<br>
>     another radio source. I've several options among which is MythTV from<br>
>     my homerun, but then I need to be able to let it start playing at a<br>
>     preset time. Is there a possibility in MythTV to let a frontend start,<br>
>     livetv at a set time?<br>
<br>
> Hi,<br>
> it should be possible with this<br>
> plugin:<a href="https://github.com/tobser/mythteatime" rel="noreferrer" target="_blank">https://github.com/tobser/mythteatime</a><br>
> <<a href="https://github.com/tobser/mythteatime" rel="noreferrer" target="_blank">https://github.com/tobser/mythteatime</a>><br>
> You will have to add a custom script to set the starting channel for livetv<br>
> before the LiveTV jumppoint is called.<br>
> I think I still have the SQL command to set the start channel somewhere, if<br>
> you are interested I can look it up. Don't know if an API call to do this<br>
> directly exists...<br>
<br>
> Tobi<br>
<br>
</div></div>Sounds definitely worth investigating. Am I right that the frontend<br>
must be on for it to work? So then I possibly have to wake it the old<br>
way through WOL first, which is less nice as it means two separate<br>
timers. It would be nicer if it ran on the backend as that can wake<br>
the frontend. Maybe through a system event? Or maybe if I can set the<br>
Raspberry Pi to only go into light sleep.<br>
<br>
And yes please if you can find that SQL sample. Although if I have<br>
moved it to the Raspberry Pi it probably will only be used for radio<br>
and most of the time on the same channel, so that should arrange it<br>
self.<br>
<br>
<br>
Tot mails,<br>
  Hika                            mailto:<a href="mailto:hikavdh@gmail.com">hikavdh@gmail.com</a><br>
<div class=""><div class="h5"><br>
</div><div class="h5"><br></div></div></blockquote><div><br></div><div>Easier solution might be once it is turned on send a command through the frontend web service to start live tv <a href="https://www.mythtv.org/wiki/Frontend_Service">https://www.mythtv.org/wiki/Frontend_Service</a></div><div><br></div><div>Jon </div></div><br></div></div>