Escape summary and title, and match audio playback to waveform image
This commit is contained in:
@@ -1183,7 +1183,7 @@ ${media_file_mime}
|
|||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
<audio controls=\"\" preload=\"none\" style=\"width:600px;\" >
|
<audio controls=\"\" preload=\"none\" style=\"width:800px;\" >
|
||||||
<source src=\"${media}\" type=\"${media_file_mime_type}\">
|
<source src=\"${media}\" type=\"${media_file_mime_type}\">
|
||||||
</audio>
|
</audio>
|
||||||
<br />
|
<br />
|
||||||
@@ -1280,7 +1280,8 @@ function post_show_to_hpr_db() {
|
|||||||
fi
|
fi
|
||||||
notes="$( cat "${shownotes_edited}" | jq --slurp --raw-input @uri | sed -e 's/%0A"$//g' -e 's/^"//g' )"
|
notes="$( cat "${shownotes_edited}" | jq --slurp --raw-input @uri | sed -e 's/%0A"$//g' -e 's/^"//g' )"
|
||||||
host_profile_encoded="$( echo "${host_profile}" | jq --slurp --raw-input @uri | sed -e 's/%0A"$//g' -e 's/^"//g' )"
|
host_profile_encoded="$( echo "${host_profile}" | jq --slurp --raw-input @uri | sed -e 's/%0A"$//g' -e 's/^"//g' )"
|
||||||
|
title_encoded="$( echo "${title}" | jq --slurp --raw-input @uri | sed -e 's/%0A"$//g' -e 's/^"//g' )"
|
||||||
|
summary_encoded="$( echo "${summary}" | jq --slurp --raw-input @uri | sed -e 's/%0A"$//g' -e 's/^"//g' )"
|
||||||
|
|
||||||
post_show_json="${working_dir}/post_show.json"
|
post_show_json="${working_dir}/post_show.json"
|
||||||
|
|
||||||
@@ -1289,9 +1290,9 @@ function post_show_to_hpr_db() {
|
|||||||
ep_num=${ep_num}
|
ep_num=${ep_num}
|
||||||
ep_date=${ep_date}
|
ep_date=${ep_date}
|
||||||
email=${email_padded}
|
email=${email_padded}
|
||||||
title=${title}
|
title=${title_encoded}
|
||||||
duration=${duration}
|
duration=${duration}
|
||||||
summary=${summary}
|
summary=${summary_encoded}
|
||||||
series_id=${series_id}
|
series_id=${series_id}
|
||||||
series_name=${series_name}
|
series_name=${series_name}
|
||||||
explicit=${explicit}
|
explicit=${explicit}
|
||||||
@@ -1308,9 +1309,9 @@ function post_show_to_hpr_db() {
|
|||||||
\"ep_num\": \"${ep_num}\",
|
\"ep_num\": \"${ep_num}\",
|
||||||
\"ep_date\": \"${ep_date}\",
|
\"ep_date\": \"${ep_date}\",
|
||||||
\"email\": \"${email_padded}\",
|
\"email\": \"${email_padded}\",
|
||||||
\"title\": \"${title}\",
|
\"title\": \"${title_encoded}\",
|
||||||
\"duration\": \"${duration}\",
|
\"duration\": \"${duration}\",
|
||||||
\"summary\": \"${summary}\",
|
\"summary\": \"${summary_encoded}\",
|
||||||
\"series_id\": \"${series_id}\",
|
\"series_id\": \"${series_id}\",
|
||||||
\"series_name\": \"${series_name}\",
|
\"series_name\": \"${series_name}\",
|
||||||
\"explicit\": \"${explicit}\",
|
\"explicit\": \"${explicit}\",
|
||||||
@@ -1711,7 +1712,7 @@ function generate_final_report() {
|
|||||||
$( echo "${synopsis}" )
|
$( echo "${synopsis}" )
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
<audio controls=\"\" preload=\"none\" style=\"width:600px;\" >
|
<audio controls=\"\" preload=\"none\" style=\"width:800px;\" >
|
||||||
<source src=\"${episode_tts_flac}\" type=\"audio/flac\">
|
<source src=\"${episode_tts_flac}\" type=\"audio/flac\">
|
||||||
</audio>
|
</audio>
|
||||||
<br />
|
<br />
|
||||||
@@ -1774,7 +1775,7 @@ $( cat "${working_dir}/hpr${ep_num}_${this_file_extension_to_check}_ffprobe.txt"
|
|||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
<audio controls=\"\" preload=\"none\" style=\"width:600px;\" >
|
<audio controls=\"\" preload=\"none\" style=\"width:800px;\" >
|
||||||
<source src=\"${working_dir}/hpr${ep_num}.${this_file_extension_to_check}\" type=\"${this_file_mime_type}\">
|
<source src=\"${working_dir}/hpr${ep_num}.${this_file_extension_to_check}\" type=\"${this_file_mime_type}\">
|
||||||
</audio>
|
</audio>
|
||||||
<br />
|
<br />
|
||||||
|
Reference in New Issue
Block a user