[mythtv-users] mythtv-backend shutting down while watching recordings over http with vlc

Philipp Hahn pmhahn+mythtv at pmhahn.de
Sat Sep 30 11:21:26 UTC 2017


I often use VLC from my laptop and smart-phone to watch recordings, but
MythTV backend then considers itself idle and shuts down.

Previously I have used mythtvweb, but `mythweb.pl` get terminated if it
is idle for too long (this happens when I pause the video for more than
X seconds). So I tried using the new MythTV WebFrontend, which does not
seem to have my "pausing" problem, but it does not prevent the backend
from shutting down (so it seems):

> mythbackend[1237]: 2017-09-30 12:10:30.605759 N  I'm idle now... shutdown will occur in 600 seconds.
> mythbackend[1237]: 2017-09-30 12:10:59.736452 N  AutoExpire: CalcParams(): Max required Free Space: 10.0 GB w/freq: 15 min
> mythbackend[1237]: 2017-09-30 12:20:30.775701 N  Running the command to set the next scheduled wakeup time :-
> mythbackend[1237]:                                 sudo /usr/local/sbin/setwakeup.sh "1506793680"

For now I have extended my script to check for open TCP connections to
port 80 and 6544, which hopefully will prevent this for now, but I still
find it strange, that MythTV-backend does not know that it is streaming
and thus is not idle.

Did I miss something or is this a bug?


PS: I don't want to run the backend 24/7, as it is idle most of the time.

More information about the mythtv-users mailing list