Skip to content

Commit d1c8fe2

Browse files
Merge pull request #140 from catduckgnaf/main
updating combine
2 parents 23f635d + addfeb0 commit d1c8fe2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

readarr/combine.bash

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,11 @@ combineM4bFiles() {
3636

3737
if [ $? -eq 0 ]; then
3838
log "M4b files combined successfully. Output: $outputFile"
39+
rm -f "$readarr_artist_path/*.mp3"
40+
log "MP3 files removed after successful M4b file combination."
3941
else
4042
log "Error combining M4b files with FFmpeg."
43+
log "original file untouched"
4144
fi
4245
}
4346

0 commit comments

Comments
 (0)