[mythtv-users] Lose TV tuners after PC reboot
Bill Meek
keemllib at gmail.com
Tue Apr 24 17:59:29 UTC 2018
On 04/24/2018 11:43 AM, Mike Bibbings wrote:
> On 24/04/18 16:52, Curtis Gedak wrote:
>> Hi Justin,
>>
>> I believe that Stephen's suggestion is correct. That is that the MythTV
>> backend is starting up before either the TCP/IP network or the network
>> tuner (HDHomeRun) is up and running.
>>
>> I encountered this issue on a PVR I build for a family member. While I
>> was unable to get a 100% reliable solution I did find that delaying the
>> startup of the MythTV backend improved the situation immensely.
>>
>> If you are curious about the things I tried, I wrote an article on it.
>> Please note that the article was on Mythbuntu 14.04 with MythTV 0.27, so
>> the exact steps would not apply for your Mythbuntu 16.04 installation.
>>
>> How to Fix HDHomeRun Connect Not Starting MythTV Recordings or Live TV
>> http://gedakc.users.sourceforge.net/display-doc.php?name=pvr-hdhomerun-not-recording
>>
>> Regards,
>> Curtis
>> _______________________________________________
>> 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 is what I use on systems using systemd (*ubuntu 16.04, 18.04, Debian Stretch)
>
> # setup mythtv-backend.service startup delay
> In a terminal on the machine running mythtv backend:
>
> sudo systemctl edit mythtv-backend.service # and add the following three lines
>
> # Delay mythbackend startup to allow network and tuners to fully stabilise
> [Service]
> ExecStartPre=/bin/sleep 20
>
>
> Then exit from the edit screen (it uses nano by default, so Ctrl+x, then
> y, then Return key) then reboot the machine
>
> Mike
The sleep works A-OK. Another HDHR network solution is here:
https://forum.mythtv.org/viewtopic.php?f=29&t=1467&p=7138#p7138
which is harder to do. Truth be told, when I check the log file
created by the new service, the delay is usually around 17 seconds.
--
Bill
More information about the mythtv-users
mailing list