Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[vdr] Re: cdcopy command?
> On Mon, 13 May 2002 10:19:58 +0200
> "Florian Engelmann" <engelmann@etecs.de> wrote:
>
> > hi,
> > i want to use the vdr command menu to copy the *.avi divx movies from
> > CDrom to /video/divx. Here is my /usr/bin/cdcopy :
> > --------------- cdcopy ----------------------
> > #! /bin/sh
> > mount /cdrom
> > if [ -r /cdrom/*.avi ]; then
> > cp /cdrom/*.avi /video/divx/ >/dev/null
> > fi
> > if [ -r /cdrom/*.mpg ]; then
> > cp /cdrom/*.mpg /video/divx/ >/dev/null
> > fi
> > if [ -r /cdrom/*.mpeg ]; then
> > cp /cdrom/*.mpeg /video/divx/ >/dev/null
> > fi
> > umount /cdrom
> > eject /dev/hdc
> > ---------------------------------------------
> > and here my commands.conf
> >
> > Reload : echo "restarting vdr ..."; sleep 2; killall -9 vdr
> > Reboot : echo "REBOOTING..."; reboot
> > CDCOPY : echo "copy divx CDROM -> HDD"; /usr/bin/cdcopy &
> ^^^^^^
> Maybe this is
> the error
>
> I think vdr forks the command and put it in the background by itself.
> Try without the '&' ( is this symbol named: ampersand ?? ) and let me
> know if it works.
>
> Bye,
> Angelus.
>
>
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?
thx engel
Home |
Main Index |
Thread Index