Thornsoft,
Your script used to help me when my master backend was unstable. Thanks for that. On the newer versions, it is pretty stable without your script.

However, a more common problem I have always had and still have is that my slave backend capture card will be offline (status is "unavailable" rather than "not recording" in the info screen. Sometimes this is because the slave-backend is offline, in which your script should help me. But, more often it is because I restarted the master-backend. I restart the backend quite frequently ( to run mythtv backup which i'd like to do nightly) or just to reset after a bug freezes my system. I have to remember to to restart the slave backend (even though it is already running)

Because the slave-backend has to be restarted (stopped then started) after each master-backend restart, your script wouldn't do this. I guess my question is "would it be possible to add polling of the master backend status to your script, and trigger a restart of the slave backend if the master-backend goes off line and comes back online?" Maybe you've thought of this.

I am getting some occasions on r5.5 where the backend on my fe/be machine seems to go away, normally sometime after a recording has completed. I was thinking of writing my own script, but this looks fine. I am a bit worried about this script though, as it doesnt seem to check if a recording is in progress. I wouldnt want to ruin any recordings by restarting the backend with this script. Could anyone advise what happens if backend is restarted during a recording ?

I could make mods myself if I am advised that I can do so, but maybe thornsoft wants to do it himself ??

Could anyone advise what happens if backend is restarted during a recording ?

Bad things. To start with the backend is the program that makes recordngs. If you stop or restart it the recording stops. Under certain circumstances it may start up again as a separate recording after the BE restarts, but the result will be two different pieces with a gap. Of course if the BE is so screwed up that it needs to be restarted the recording probably isn't happening anyway.

As for telling if the BE is currently busy, the idle.sh script works pretty well.

Who is online

Users browsing this forum: Google [Bot] and 1 guest

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot post attachments in this forum