We base a lot of the generated output file info on the results of "get_output_filename", we should embed this result into the OTIO file, so that when we generated the HTML file, that result can be determined from the file, and not guessed at.
So the change would be putting the get_outputfilename into the results metadata.
In the results template and outputTemplate, we should be creating a field which is using that basename replacing {{ test.default_media.basename }}-{{ enc_info.name|e }} with that value.
We base a lot of the generated output file info on the results of "get_output_filename", we should embed this result into the OTIO file, so that when we generated the HTML file, that result can be determined from the file, and not guessed at.
So the change would be putting the get_outputfilename into the results metadata.
In the results template and outputTemplate, we should be creating a field which is using that basename replacing {{ test.default_media.basename }}-{{ enc_info.name|e }} with that value.