From: Alan J. Pippin Date: Fri, 22 May 2009 20:37:54 +0000 (-0600) Subject: Added new logging feature that will log the rip_dvd cmd in the logfile X-Git-Tag: 1_0~9 X-Git-Url: http://git.pippins.net/embedvideo/static/images/%7Blink_hometeaching%7D?a=commitdiff_plain;h=0dd2093c203da3a877be5ef0238062a7869dd47a;p=rip_dvd%2F.git Added new logging feature that will log the rip_dvd cmd in the logfile --- diff --git a/rip_dvd b/rip_dvd index da6b81f..0295e62 100755 --- a/rip_dvd +++ b/rip_dvd @@ -40,6 +40,7 @@ config="${0%/*}/rip_dvd.conf" ############################################################################################## # Command line processing ############################################################################################## +typeset cmd="$0 $*" typeset dvdname="" typeset debug="" typeset dest="" @@ -382,7 +383,7 @@ function encode_vob_file { passlogfile_opt="-passlogfile $passlogfile" pass_opt="pass=%PASS" - # Check the force_onepass_mode. If it is set, change our variables appropriately + # Check the global force_onepass_mode. If it is set, change our variables appropriately # to force 1-pass encoding across all profiles. if [ $force_onepass_mode -eq 1 ]; then PASSES="2" @@ -1114,6 +1115,9 @@ function remove_intermediate_dvdbackup_folder { # Make a note of when this DVD rip started date=`date` echo -e "\n$date DVD rip started" >> "$logfile" +echo "cmd: $cmd" >> "$logfile" + +exit # Rip the DVD - Mirror Mode if [ $mirror_mode -eq 1 ]; then