[mythtv-users] mythfilldatabase run manually

Stephen Worthington stephen_agent at jsw.gen.nz
Thu Jan 9 02:27:06 UTC 2020


On Wed, 8 Jan 2020 14:30:03 -0500, you wrote:

>I have a mobile combo mythtv FE/BE on a RPi4 in my RV.  So it only have an internet connection when I turn my phone into a hotspot and the wireless AP/router bridge reestablishes a connection to the hotspot. As a result when mythfilldatabase runs it usually doesn’t succeed. 
>
>So  what I do now is:
>1.  Turn on phone hotspot.
>2.  Open terminal and ‘sudo su mythtv’ then ‘mythfilldatabase’
>3.  Turn off phone hotspot.
>
>Anyone have a more automated way of doing this or is this the best I can hope for??
>
>Jim A

It is possible to get a script to run when a network connection comes
up - see /etc/network/if.up.  The system uses this, but it is possible
to add your own scripts also.  I presume an RPi also works this way -
it is a Debian and Debian based thing.  So you could have
mythfilldatabase run when a network connection comes up the first time
each day after the time it would normally be run.


More information about the mythtv-users mailing list