[mythtv-users] mythtv-backend shutting down while watching recordings over http with vlc
Bill Meek
keemllib at gmail.com
Sat Sep 30 15:46:39 UTC 2017
On 09/30/2017 06:21 AM, Philipp Hahn wrote:
> Hello,
>
> 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?
>
> Philipp
>
> PS: I don't want to run the backend 24/7, as it is idle most of the time.
It's an open issue: https://code.mythtv.org/trac/ticket/12089#comment:2
with no easy solution. You'll find that watching the ports may not work
as they won't always be connected. Try: mythshutdown --lock if you've
got command line access.
--
Bill
More information about the mythtv-users
mailing list