scalelite_post_publish.rb
ignores -f
parameter and transfers formats multiple times
#1047
Labels
bug
Something isn't working
Describe the bug
Recording post-publish scripts are called once for each format generated by BBB, but the
scalelite_post_publish.rb
script ignores the-f
parameter and transfers all available formats for a given recording every time it is called. If BBB is configured to produce more than one formats (e.g. presentation, video and podcast), the script will be called multiple times and transfer the early formats repeatedly, resulting in multiple imports of the same format by the Scalelite importer. The importer just replaces existing imports, so this issue only produces unnecessary work but may go unnoticed otherwise.To Reproduce
Just look at
scalelite/bigbluebutton/scalelite_post_publish.rb
Lines 32 to 33 in 7f0cbde
Expected behavior
The
scalelite_post_publish.rb
script should only pack and transfer the format specified by the-f
parameter.The text was updated successfully, but these errors were encountered: