Fix deleting full audio file in chaptered mode

This commit is contained in:
Sebastián Ariel Szperling 2017-01-10 01:16:32 -03:00 committed by GitHub
parent 75f9e0b079
commit 47440ed463

View File

@ -85,7 +85,7 @@ do
ffmpeg -loglevel error -stats -i "${full_file_path}" -ss "${start%?}" -to "${end}" -codec:a copy "${chapter_file}"
fi
done 9< "$metadata_file"
rm ${full_file_path}
rm "${full_file_path}"
debug "Done creating chapters. Chaptered files contained in ${output_directory}."
fi