From 0dd2093c203da3a877be5ef0238062a7869dd47a Mon Sep 17 00:00:00 2001 From: "Alan J. Pippin" Date: Fri, 22 May 2009 14:37:54 -0600 Subject: [PATCH] Added new logging feature that will log the rip_dvd cmd in the logfile --- rip_dvd | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 -- 2.34.1