Commit 7bf5d38b authored by Booloki's avatar Booloki

Remove unused *_decode functions

parent 4750f18a
Pipeline #66 passed with stage
in 21 seconds
......@@ -64,28 +64,6 @@ cropdetect () {
rm /tmp/cropdetect.out
}
## 'decode' avconv output file
avconv_decode () {
while read -r LINE
do
ID_HEX=$(echo "${LINE}" | grep '^Stream' | cut -d '[' -f 2 | cut -d ']' -f 1)
if [[ ! "${ID_HEX}" == "" ]]; then
echo "ID $((ID_HEX - $(echo "${LINE}" | grep ^Stream | cut -d ' ' -f 3-)))"
fi
done < "${1}"
}
## 'decode' lsdvd output file
lsdvd_decode () {
while read -r LINE
do
ID_HEX=$(echo "${LINE}" | grep -vE '^Title|VTS|Chapter' | grep -o '.\{5\}$' | sed 's/,//')
if [[ ! "${ID_HEX}" == "" ]]; then
echo "ID $((ID_HEX - $(echo "${LINE}" | sed "s/', Stream id: ....'//" | sed "s/', Content: Undefined'//")))"
fi
done < "${1}"
}
## copy DVD to local iso file
# need ISO_FILE
# DVD_MOUNT_PATH
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment