[mythtv-users] Another odd behaviour with Auto-Shutdown (a bit long)

Mitko Haralanov voidtrance at comcast.net
Wed May 12 13:10:49 EDT 2004


Hi all, ever since I got the auto-shutdown/wake-up to work on my
Chaintech 7NIF2 board, it has been turned on in Myth and it works like a
charm. The machine shuts down and wakes up very reliably.

However, I am noticing something very interesting which could be
interpreted as a problem. According to all the documentation,
mythbackend checks whether there is a client connected and whether there
is any recording schedule for the next (in my case) 1 hour. If not, then
it shuts down. However, if there is a transcoding/commercial flagging
going on at the moment, the backend completely ignores that and I end up
with a lot of shows that have been recorded for several days but have
not even been flagged.

Since I am running 0.14 (which does not have the pre-Shutdown check
option), I see 2 ways out.

1. have the idle timeout be large enough to accommodate th transcoding
of a 1 hour show

2. have the shutdown script check whether mythtranscode is running and
if it is, abort.

No. 2, begs a question: if mythbackend issues the shutdown command but
the shutdown process aborts without doing the shutdown (thus leaving
mythbackend running), will the backend issue the shutdown command the
next minute? I am afraid that it is a one-time deal, where once issued,
the backend will not issue the shutdown command again...


-- 
Mitko Haralanov
voidtrance at comcast dot net
http://voidtrance.home.comcast.net
==========================================
If at first you don't succeed, you must be a programmer.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-users/attachments/20040512/2d6ff576/attachment.pgp


More information about the mythtv-users mailing list