[mythtv-users] Parental Controls -- Time of Viewing

Dan Wilga mythtv-users2 at dwilga-linux1.amherst.edu
Wed Feb 11 21:28:23 UTC 2015


On 2/11/15 4:10 PM, Hika van den Hoven wrote:
> Hoi Mark,
>
> Wednesday, February 11, 2015, 10:02:08 PM, you wrote:
>
>
>
>>> On 12 Feb 2015, at 2:16 am, "George Galt" <george.galt at gmail.com> wrote:
>>>
>>> All:
>>>
>>> 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.
>>>
>>> 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?
>>>
>>> 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?
>>>
>>> I'm on 27.4-2 from RPMFusion.and Fedora 21 x86_64.
>>>
>>> Thanks,
>>>
>>> George
>>> _______________________________________________
>> I know I am not answering your question (I don't know the answer) -
>> but a quick-n-dirty hack might be to run a cron job late at night to
>> add / change the pins on the kids recording groups and then another
>> cron job in the morning to remove the pins.
>> I haven't tried it, just a thought. One of the MySQL guru's might
>> chip in with what the command line would look like?
>> _______________________________________________
> I was thinking more in the line of stopping and starting the backend
> service on a cronjob. If there is no backend running he can boot-up
> any frontend, but he won't get anything!
But, with the backend stopped, there won't be anything new recorded 
during those hours.



More information about the mythtv-users mailing list