<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, Feb 11, 2015 at 1:28 PM, Dan Wilga <span dir="ltr"><<a href="mailto:mythtv-users2@dwilga-linux1.amherst.edu" target="_blank">mythtv-users2@dwilga-linux1.amherst.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 2/11/15 4:10 PM, Hika van den Hoven wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hoi Mark,<br>
<br>
Wednesday, February 11, 2015, 10:02:08 PM, you wrote:<br>
<br>
<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 12 Feb 2015, at 2:16 am, "George Galt" <<a href="mailto:george.galt@gmail.com" target="_blank">george.galt@gmail.com</a>> wrote:<br>
<br>
All:<br>
<br>
I've searched the wiki and the archives, but I can't seem to find how to accomplish my goal. My goal is to prohibit viewing of recorded programs and videos during certain hours. My problem is my son is waking up early (about 4:00 a.m.) and has discovered he can watch MythTV.<br>
<br>
AFAICT, the parental controls available simply limit which recording groups can be watched by kids (or without a pin). There doesn't seem to be any ability to prohibit viewing during certain hours. Am I missing something?<br>
<br>
If this capability isn't available, I'm assuming it would be reasonably easy to modify playbackbox.cpp so that when launching the player it can check the local time and return if it is within a prohibited period. Is this the correct file to look in?<br>
<br>
I'm on 27.4-2 from RPMFusion.and Fedora 21 x86_64.<br>
<br>
Thanks,<br>
<br>
George<br>
______________________________<u></u>_________________<br>
</blockquote>
I know I am not answering your question (I don't know the answer) -<br>
but a quick-n-dirty hack might be to run a cron job late at night to<br>
add / change the pins on the kids recording groups and then another<br>
cron job in the morning to remove the pins.<br>
I haven't tried it, just a thought. One of the MySQL guru's might<br>
chip in with what the command line would look like?<br>
______________________________<u></u>_________________<br>
</blockquote>
I was thinking more in the line of stopping and starting the backend<br>
service on a cronjob. If there is no backend running he can boot-up<br>
any frontend, but he won't get anything!<br>
</blockquote></span>
But, with the backend stopped, there won't be anything new recorded during those hours.<br></blockquote></div><br></div><div class="gmail_extra">What about the low-tech solution of just putting the remote away somewhere at night? He could maybe still turn on the TV but not actually watch anything.<br><br>Karl<br></div></div>