Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: Annoying EMERGENCY EXITs



Hi,
...
So VDR should check itself

That's what it does with the watchdog timer ;-)


and if it is running well it shouldn't
restart but check the state of the driver.

And how exactly do you suppose that should work?
How do you "check the state of the driver"?
If VDR is recording, and there is no more data coming
in, chances are the driver has run into trouble.
isn't there a way to get the signal strength, the tech
patch does show some info which is related to that
problem, if that is reliable, and one could make a
difference between bad signal and crashed dvb that
could be a starting point.


If driver has crashed it
should reload the driver only without restarting itself.

I'd really like to see how that would work!
To reload the driver VDR needs to close all its file handles
and most likely to exit in order to allow the surrounding script to
do the driver reload, in case it is not running as 'root'.

yes vdr should restart if is in doubt, else more trouble
will come...
and b.t.w. what would one gain from a running vdr while the
driver reloads :-)


And if both are
running fine it should do nothing and wait until reception is back
(maybe some info "DVB xy unavailable" in logs and on OSD)

Maybe we should connect VDR to some weather station, so it "knows"
when there is bad wheather ;-)

Get serious - how should VDR tell that "bad weather" is the cause of
the problems? The only thing I could imagine that might work is to
limit the time after which another emergency exit may happen.
Please implement that, test it, and if it improves things, send a patch.
But keep in mind that VDR can't look out the window to see what the
current weather conditions are ;-)
yes, but keeping some small stats about signal strength could
help to sort driver from signal problems.


In case one card fails but enough cards are left for recording, VDR also
shouldn't restart but wait for the recordings to end.

As far as I can see emergency exits are only done if an ongoing recording
is having trouble. So it makes no sense to me _not_ to do an emergency exit
if recording A is having trouble on card 1, just because recording B is running
fine on card 2. I'd rather have a short glitch in recording B and still get
the rest of recording A than have an uninterrupted recording B and miss
half or all of recording A.

Klaus

well that can be a question of priority, missing one episode from harald schmidt
is not as bad as missing a scene from a good movie which is not broadcasted very often :-).

so perhaps in some ... future version one could select a priority level
which triggers the restart of an ongoing recording, if another recording
has a higher priority / a certain blocking priority....


But first other stuff seems to be there ...

Good WORK !

Regards Onno



--
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index