RaP: Fix done filenames for segmented recordings

The done filenames all have to contain the break_timestamp to identify
the segment
This commit is contained in:
Calvin Walton 2020-01-21 17:21:50 -05:00
parent c52a67186e
commit 1a88830a27
4 changed files with 9 additions and 9 deletions

View File

@ -65,9 +65,9 @@ module BigBlueButton
def initialize(opts)
super(opts)
@step_name = 'archive'
@archived_fail = "#{@recording_dir}/status/archived/#{@meeting_id}.fail"
@archived_done = "#{@recording_dir}/status/archived/#{@meeting_id}.done"
@archived_norecord = "#{@recording_dir}/status/archived/#{@meeting_id}.norecord"
@archived_fail = "#{@recording_dir}/status/archived/#{@full_id}.fail"
@archived_done = "#{@recording_dir}/status/archived/#{@full_id}.done"
@archived_norecord = "#{@recording_dir}/status/archived/#{@full_id}.norecord"
end
end
end

View File

@ -80,8 +80,8 @@ module BigBlueButton
@step_name = 'process'
@format_name = opts['format_name']
@post_scripts_path = File.expand_path('../post_process', __dir__)
@processed_done = "#{@recording_dir}/status/processed/#{@meeting_id}-#{@format_name}.done"
@processed_fail = "#{@recording_dir}/status/processed/#{@meeting_id}-#{@format_name}.fail"
@processed_done = "#{@recording_dir}/status/processed/#{@full_id}-#{@format_name}.done"
@processed_fail = "#{@recording_dir}/status/processed/#{@full_id}-#{@format_name}.fail"
end
end
end

View File

@ -118,8 +118,8 @@ module BigBlueButton
@step_name = 'publish'
@format_name = opts['format_name']
@post_scripts_path = File.expand_path('../post_publish', __dir__)
@published_done = "#{@recording_dir}/status/published/#{@meeting_id}-#{@format_name}.done"
@published_fail = "#{@recording_dir}/status/published/#{@meeting_id}-#{@format_name}.fail"
@published_done = "#{@recording_dir}/status/published/#{@full_id}-#{@format_name}.done"
@published_fail = "#{@recording_dir}/status/published/#{@full_id}-#{@format_name}.fail"
end
end
end

View File

@ -60,8 +60,8 @@ module BigBlueButton
super(opts)
@step_name = 'sanity'
@post_scripts_path = File.expand_path('../post_archive', __dir__)
@sanity_fail = "#{@recording_dir}/status/sanity/#{@meeting_id}.fail"
@sanity_done = "#{@recording_dir}/status/sanity/#{@meeting_id}.done"
@sanity_fail = "#{@recording_dir}/status/sanity/#{@full_id}.fail"
@sanity_done = "#{@recording_dir}/status/sanity/#{@full_id}.done"
end
end
end