Mailing List archive

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

[vdr] cdcopy command?



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 &

but after starting the cdcopy my vdr does no more react on any remote
button? also after cdcopy is finished it still hangs? why? i should be able
to copy and watch tv... shouldn't i?

thx engel






Home | Main Index | Thread Index