Mailing List archive

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

[vdr] Re: cdcopy command?




Florian Engelmann wrote:

> i tried it without '&' - but no success... :(
> the cdcopy starts and vdr stops reacting on my remote. sometimes after
some
> seconds (about 30) it reacts on my remote again - but channel switching
does
> no more work! also mplayer does no more work... i can ony use my reload
> (killall -9 vdr) command in the commandmenu to get vdr bak working :(

> any more ideas?

I think starting long running tasks (and this one _IS_ long running) as a
simple vdr command is not a good idea.
VDR blocks until the command finishes. That's why you have no reaction from
your remote control.
Furthermore the watchdog-timer should hit here and restart vdr (depending
on your setup).
The ampersand solution doesn't work here - I'm not sure right now why, I
don't have the sources here.

But you could pass your script to 'atd' with 'at' and TIME-option 'NOW'
(see man at) to start the script right away
on behalf of the atd. This should make vdr return immediatly - thus
reacting on the RC.
Your script could display a message when it finished copying via SVDRP.

Hope this helps.
  Richard




Home | Main Index | Thread Index