Skip to content

Commit

Permalink
fix: printing subs even without speech
Browse files Browse the repository at this point in the history
  • Loading branch information
fearocanity authored Nov 28, 2023
1 parent 3636b19 commit da67114
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/process.sh
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ process_multisubs(){
[[ -e "${i}" ]] || continue
[[ "${i}" =~ .*_([A-Za-z]{2})\.(srt|ass|ssa)$ ]] || continue
process_subs "${1}" "${i}"
[[ -z "${message_comment}" ]] && { unset message_craft ; continue ;}
if [[ "${BOOL_IS_OPEDSONG}" = "1" ]]; then
message_comment+="Lyrics [$(sed -E 's/.*_([A-Za-z]{2})\.(srt|ass|ssa)$/\1/g' <<< "${i}" | tr '[:lower:]' '[:upper:]')]:"$'\n'"${message_craft}"$'\n'
else
Expand Down

0 comments on commit da67114

Please sign in to comment.