diff options
| author | Keine_Ahnung <no@mail.com> | 2012-12-25 17:27:22 +0100 |
|---|---|---|
| committer | Keine_Ahnung <no@mail.com> | 2012-12-25 17:27:22 +0100 |
| commit | 33c9514b75686e41823ed5bbb2f8f328a1aa0f38 (patch) | |
| tree | 1ca206eae98c6c73564461cbc98bb39b9978f926 | |
| parent | 60bb1babcea22151d084cd9499a09a062c2d9db0 (diff) | |
| download | vdr-plugin-ripit-33c9514b75686e41823ed5bbb2f8f328a1aa0f38.tar.gz vdr-plugin-ripit-33c9514b75686e41823ed5bbb2f8f328a1aa0f38.tar.bz2 | |
renamed vdr-eject to vdr-opticaldrive
| -rw-r--r-- | commands/vdr-opticaldrive (renamed from commands/vdr-eject) | 0 | ||||
| -rw-r--r-- | commands/vdr-ripit | 14 |
2 files changed, 7 insertions, 7 deletions
diff --git a/commands/vdr-eject b/commands/vdr-opticaldrive index 475ca2d..475ca2d 100644 --- a/commands/vdr-eject +++ b/commands/vdr-opticaldrive diff --git a/commands/vdr-ripit b/commands/vdr-ripit index c3a6c20..4acddd5 100644 --- a/commands/vdr-ripit +++ b/commands/vdr-ripit @@ -78,7 +78,7 @@ fi case "$PARAM_MODE" in kill) touch "$ABORT_FILE" - printf "PROCESS MANUALLY ABORTED\nPlease Wait (max. %s Seconds)...\n" "$(vdr-eject getopentime)" + printf "PROCESS MANUALLY ABORTED\nPlease Wait (max. %s Seconds)...\n" "$(vdr-opticaldrive getopentime)" for pid in $(pidof perl); do #echo "$(cat /proc/$pid/cmdline | sed 's/\x00/ /g'|sed 's/^perl //')" > /tmp/a #echo "$(cat $LOCK_FILE|sed "s/'//g"|sed 's/^nice -n [[:digit:]]\{2\} //') " > /tmp/b @@ -93,15 +93,15 @@ case "$PARAM_MODE" in printf "Error, Directory %s not writable\n" "$PARAM_DIR" touch "$ABORT_FILE" fi - vdr-eject open - printf "Please insert CD... (start in %s Seconds)\n" "$(vdr-eject getopentime)" - sleep $(vdr-eject getopentime) + vdr-opticaldrive open + printf "Please insert CD... (start in %s Seconds)\n" "$(vdr-opticaldrive getopentime)" + sleep $(vdr-opticaldrive getopentime) if [ ! -f "$ABORT_FILE" ]; then - vdr-eject startburn + vdr-opticaldrive startburn [ -n "$PARAM_NICE" ] && commandline="$(printf "nice -n '%s' " "$PARAM_NICE")" commandline="${commandline}/usr/bin/ripit" - commandline="${commandline}$(printf " --nointeraction --device '%s'" "$(vdr-eject getdvddev)")" + commandline="${commandline}$(printf " --nointeraction --device '%s'" "$(vdr-opticaldrive getdev)")" [ -n "$PARAM_VERBOSITY" ] && commandline="${commandline}$(printf " -x '%s'" "$PARAM_VERBOSITY")" case "$PARAM_ENCTYPE" in @@ -164,7 +164,7 @@ case "$PARAM_MODE" in else printf "ABORTED!\n" fi - vdr-eject stopburn + vdr-opticaldrive stopburn rm -f "$ABORT_FILE" rm -f "$LOCK_FILE" ;; |
