[mythtv-users] Update to Mint 17.2 broke wakeup function.

Douglas Peale Douglas_Peale at comcast.net
Sun Aug 9 02:18:54 UTC 2015


On 08/08/2015 06:53 PM, Hika van den Hoven wrote:
> Hoi Douglas,
>
> Sunday, August 9, 2015, 3:29:06 AM, you wrote:
>
>> On 08/08/2015 06:14 PM, Douglas Peale wrote:
>>> On 08/08/2015 04:46 PM, Bill Meek wrote:
>>>> On 08/08/2015 06:25 PM, Douglas Peale wrote:
>>>>> No, This is all that is there:
>>>>> -rw-r--r-- 1 syslog adm  7315371 Aug  8 16:24 mythbackend.log
>>>> ...
>>>>
>>>> Also see if the user running the program has write permission there:
>>>>
>>>>     ls -ld /var/log/mythtv
>>>>
>>>> You might find the directory is now owned by: syslog:adm too.
>>>>
>>>> mythbackend --setverbose system,idle will add more logging.
>>>> Then check /var/log/mythtv/mythbackend.log.
>>>>
>>> It occurs to me that there is nothing in the recording que, nothing I have scheduled to record appears in the schedule for the
>>> two weeks of schedule that schedules direct provides.
>>> Does mythTV still run the setwakeup.sh script if it knows of nothing to record?
>>> This would seem like a bug to me, it should at least wakeup and download a new schedule to see if anything it needs to record
>>> showed up.
>>>
>>> If this is indeed the problem, should I set a wakeup time in the checklogin.sh script (one that would get overwritten by the
>>> setwakeup.sh script if it is run?
>>>
>>> I'm going to schedule something that will record in the next few days, and see if that makes a difference.
>>>
>>>
>> I can confirm that this was the problem.
>> Once something showed up in the upcoming schedule, MythTV began
>> calling the setwakup.sh script, and log items from setwakup.sh
>> showed up in my log file.
>> This is a bug. Even if MythTV finds nothing to record, it should
>> set a wakeup time before its schedule runs out so in can update
>> its schedule.
>> As it now stands, if mythTV ever shuts down without having anything
>> in its schedule to record, it will never wake up on its own,
>> and could miss future recordings.
> If you know when the normal data fetch is scheduled, you probably
> could add something in the script. Like if Mythtv doesn't suggest a
> wakeup time set it to 5 minutes before the next planned datagrab.
>
>
> Tot mails,
>   Hika                            mailto:hikavdh at gmail.com
>
> "Zonder hoop kun je niet leven
> Zonder leven is er geen hoop
> Het eeuwige dilemma
> Zeker als je hoop moet vernietigen om te kunnen overleven!"
>
> De lerende Mens
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-users
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org
>
This would have to be done in the checklogin.sh script since when mythTV does not have anything to record, it does not call the
setwakeup.sh script.
I have added a 3:00 AM wakup to the checklogin.sh script. I'll find out tomorrow if it works.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20150808/53e2fd7e/attachment.sig>


More information about the mythtv-users mailing list