Support for extra files associated with the eps

This commit is contained in:
2025-10-28 17:14:15 +01:00
parent 00172063de
commit e784b07dbd

View File

@@ -1899,7 +1899,7 @@ function register_assets() {
echo '"episode_id","filename","extension","size", "sha1sum", "mime_type", "file_type"' | tee "${assets_csv}" echo '"episode_id","filename","extension","size", "sha1sum", "mime_type", "file_type"' | tee "${assets_csv}"
find "${working_dir}/" -maxdepth 1 -type f \( -iname "hpr${ep_num}.*" -or -iname "hpr${ep_num}_image_*.*" \) | \ find "${working_dir}/" -maxdepth 1 -type f \( -iname "hpr${ep_num}.*" -or -iname "hpr${ep_num}_image_*.*" -or -iname "hpr${ep_num}_extra_*.*" \) | \
while read this_asset_filename while read this_asset_filename
do do
this_asset_filename="$( basename "${this_asset_filename}" )" this_asset_filename="$( basename "${this_asset_filename}" )"