Mailing List archive

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

[vdr] Re: VDR 1.2.1 doesn't shutdown while recording



On Thu, 12 Jun 2003, Klaus Schmidinger wrote:

> Jarkko Santala wrote:
> >
> > On Thu, 12 Jun 2003, Klaus Schmidinger wrote:
> >
> > > Jarkko Santala wrote:
> > > > Noticed a little bug on my system, I'm running VDR 1.2.1 with the
> > > > recommended DVB drivers and plugins dxr3 + mp3, in which VDR doesn't
> > > > shutdown if a recording is in progress.
> > > >
> > > > How to repeat:
> > > >
> > > > 1. Recording is in progress
> > > > 2. Press shutdown
> > > > 3. Press OK when you get the "are you sure, recording is in progress?"
> > > > 4. "Shutting down..." is displayed
> > > > 5. Wait until the text goes away
> > > > 6. VDR doesn't shutdown
> > >
> > > As discussed in the separate thread (broken off by Tobias Faust :-( )
> > > VDR gives the shutdown script the start time of the next or currently
> > > running timer. If you want your script to shutdown in such cases,
> > > simply add some time of your choice to the current time in your shurdown
> > > script.
> >
> > Well, I don't use any shutdown scripts, I just use vdr
> > --shutdown="shutdown -h now". As far as I can tell, that should always
> > shutdown the box no matter what. I just get the extra options as a
> > wall-message.
>
> Are there any log messages around the time when you do this?

Here they are, nothing very interesting I'm afraid:

Jun 11 23:03:22 zem vdr[124]: Power button pressed
Jun 11 23:03:22 zem vdr[712]: transfer thread ended (pid=712)
Jun 11 23:03:23 zem vdr[124]: buffer stats: 34968 (3%) used
Jun 11 23:03:23 zem vdr[124]: confirm: Tallennus kesken - sammutetaanko?
Jun 11 23:03:25 zem vdr[124]: confirmed
Jun 11 23:03:25 zem vdr[124]: next timer event at Wed Jun 11 22:28:00 2003
Jun 11 23:03:25 zem vdr[124]: confirm: Peru sammutus painamalla mitä
tahansa näppäintä
Jun 11 23:03:31 zem vdr[124]: confirmed
Jun 11 23:03:31 zem vdr[124]: executing 'shutdown -h now 1055359680 -2125
3 "Suuri Seikkailu 2003" 1'
Jun 11 23:03:31 zem vdr[124]: switching to channel 3
Jun 11 23:03:31 zem vdr[714]: transfer thread started (pid=714)
Jun 11 23:03:49 zem vdr[124]: dxr3: no translation found for 'DXR3' in
language
8 (suomi)
Jun 11 23:03:55 zem vdr[714]: transfer thread ended (pid=714)
Jun 11 23:03:55 zem vdr[124]: buffer stats: 39668 (3%) used
Jun 11 23:03:55 zem vdr[124]: timer 7 (3 2303-0203 '@TITLE EPISODE') start

> Maybe the "shutdown -h now" is irritated by the parameters VDR adds
> to the call?
> Try writing a simple shell script, like
>
> #!/bin/sh
> shutdown -h now
>
> and give VDR the name of that script. That way the additional parameters
> will be ignored.

I'll give this a try. shutdown shouldn't be irritated by extra parameters,
they are just printed out to everyone. From shutdown(8):

       /sbin/shutdown [-t sec] [-arkhncfF] time [warning-message]

	-jake

-- 
Jarkko Santala <jake@iki.fi>            http://www.iki.fi/~jake/
System Administrator                    2001:670:83:f08::/64


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



Home | Main Index | Thread Index