projects
/
rip_dvd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
97c8da0
)
Added new logging feature that will log the rip_dvd cmd in the logfile
author
Alan J. Pippin
<ajp@pippins.net>
Fri, 22 May 2009 20:37:54 +0000
(14:37 -0600)
committer
Alan J. Pippin
<ajp@pippins.net>
Fri, 22 May 2009 20:39:05 +0000
(14:39 -0600)
rip_dvd
patch
|
blob
|
history
diff --git
a/rip_dvd
b/rip_dvd
index da6b81fa98649b0004eb8125298bab6d3ffb6b45..0295e62d98071517f7557a2f57f9c301bff121d8 100755
(executable)
--- a/
rip_dvd
+++ b/
rip_dvd
@@
-40,6
+40,7
@@
config="${0%/*}/rip_dvd.conf"
##############################################################################################
# Command line processing
##############################################################################################
##############################################################################################
# Command line processing
##############################################################################################
+typeset cmd="$0 $*"
typeset dvdname=""
typeset debug=""
typeset dest=""
typeset dvdname=""
typeset debug=""
typeset dest=""
@@
-382,7
+383,7
@@
function encode_vob_file {
passlogfile_opt="-passlogfile $passlogfile"
pass_opt="pass=%PASS"
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"
# 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"
# 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
# Rip the DVD - Mirror Mode
if [ $mirror_mode -eq 1 ]; then