Remove extension .flac,.wav,.opus from title detection
This commit is contained in:
parent
a73c0dbd3d
commit
ffe67e00e2
|
@ -77,6 +77,9 @@ function removeExtension() {
|
|||
sed -i 's/.ogg//g' "${ksToolsSedFile}" &> /dev/null
|
||||
sed -i 's/.ac3//g' "${ksToolsSedFile}" &> /dev/null
|
||||
sed -i 's/.aac//g' "${ksToolsSedFile}" &> /dev/null
|
||||
sed -i 's/.flac//g' "${ksToolsSedFile}" &> /dev/null
|
||||
sed -i 's/.wav//g' "${ksToolsSedFile}" &> /dev/null
|
||||
sed -i 's/.opus//g' "${ksToolsSedFile}" &> /dev/null
|
||||
# Show file without extension
|
||||
wordToConvert=$(cat ${ksToolsSedFile})
|
||||
echo ${wordToConvert}
|
||||
|
|
|
@ -108,6 +108,9 @@ function removeExtension() {
|
|||
sed -i 's/.ogg//g' "${ksToolsSedFile}" &> /dev/null
|
||||
sed -i 's/.ac3//g' "${ksToolsSedFile}" &> /dev/null
|
||||
sed -i 's/.aac//g' "${ksToolsSedFile}" &> /dev/null
|
||||
sed -i 's/.flac//g' "${ksToolsSedFile}" &> /dev/null
|
||||
sed -i 's/.wav//g' "${ksToolsSedFile}" &> /dev/null
|
||||
sed -i 's/.opus//g' "${ksToolsSedFile}" &> /dev/null
|
||||
# Show file without extension
|
||||
wordToConvert=$(cat ${ksToolsSedFile})
|
||||
echo ${wordToConvert}
|
||||
|
|
|
@ -77,6 +77,9 @@ function removeExtension() {
|
|||
sed -i 's/.ogg//g' "${ksToolsSedFile}" &> /dev/null
|
||||
sed -i 's/.ac3//g' "${ksToolsSedFile}" &> /dev/null
|
||||
sed -i 's/.aac//g' "${ksToolsSedFile}" &> /dev/null
|
||||
sed -i 's/.flac//g' "${ksToolsSedFile}" &> /dev/null
|
||||
sed -i 's/.wav//g' "${ksToolsSedFile}" &> /dev/null
|
||||
sed -i 's/.opus//g' "${ksToolsSedFile}" &> /dev/null
|
||||
# Show file without extension
|
||||
wordToConvert=$(cat ${ksToolsSedFile})
|
||||
echo ${wordToConvert}
|
||||
|
|
|
@ -108,6 +108,9 @@ function removeExtension() {
|
|||
sed -i 's/.ogg//g' "${ksToolsSedFile}" &> /dev/null
|
||||
sed -i 's/.ac3//g' "${ksToolsSedFile}" &> /dev/null
|
||||
sed -i 's/.aac//g' "${ksToolsSedFile}" &> /dev/null
|
||||
sed -i 's/.flac//g' "${ksToolsSedFile}" &> /dev/null
|
||||
sed -i 's/.wav//g' "${ksToolsSedFile}" &> /dev/null
|
||||
sed -i 's/.opus//g' "${ksToolsSedFile}" &> /dev/null
|
||||
# Show file without extension
|
||||
wordToConvert=$(cat ${ksToolsSedFile})
|
||||
echo ${wordToConvert}
|
||||
|
|
Loading…
Reference in New Issue
Block a user