updating combine

Added upon successful conversion to delete the .mp3 files. added log message
This commit is contained in:
catduckgnaf 2023-12-20 18:19:25 -05:00
parent 23f635d006
commit addfeb0ae7

View file

@ -36,8 +36,11 @@ combineM4bFiles() {
if [ $? -eq 0 ]; then if [ $? -eq 0 ]; then
log "M4b files combined successfully. Output: $outputFile" log "M4b files combined successfully. Output: $outputFile"
rm -f "$readarr_artist_path/*.mp3"
log "MP3 files removed after successful M4b file combination."
else else
log "Error combining M4b files with FFmpeg." log "Error combining M4b files with FFmpeg."
log "original file untouched"
fi fi
} }