# This program was originally written in German # Test this translation carefully dvd_directory=/dev/dvd # DVD runtime directory video_folder=~/Videos # Target folder for movies # Is DVD = /dev/dvd? echo "We'll test the path to the DVD next. (This message will appear on script startup only.)" sleep 3 ls /sys/block echo "Is the last part of "$dvd_directory" in the list above? [y/n]" read answer case "${answer}" in y|Y) # DVD uses preconfigured directory echo "Let's continue..."; continue;; *) # DVD path is different echo "The DVD path on your computer may be different, such as '/dev/sr0' or '/dev/cdrom'"; echo "Insert a DVD and type 'mount' to find out the correct path."; echo "Take the result and enter it after 'dvd_directory=' in the 'config.conf' file in this directory."; echo "Save the file and start the 'convert.sh' or 'convert_short.sh' script again."; echo "End script"; exit 0;; esac