pyCA icon indicating copy to clipboard operation
pyCA copied to clipboard

inputs added + recording start without server connection

Open RolfBerger opened this issue 3 years ago • 1 comments

  • Inputs added: Definition in pyca.conf, ingest only uploads selected tracks, if no tracks are defined in pyca.conf or no inputs selected in schedule-event, all tracks are uploaded. The assignment of inputs to tracks is made with the flavor, so each inputs/track needs a unique flavor-name.

  • capture.py stays in a while-loop until the connection to the opencast-endpoint is made. If the connection is lost no recordings are started -> change in connection beaviour to exit the loop if connection is only for information and not necessary Remark: The changes in schedule.py will cause "Failure in test_get_schedule (test_schedule.TestPycaCapture)" in the test-run because get_schedule() returns without a database entry if the service-endpoint is not reachable. In this case get_schedule() returns before schedule.http_request (= lambda x: self.VCAL) will be executed. In my opinion this is not a fault.

RolfBerger avatar Aug 16 '22 09:08 RolfBerger

This pull request has conflicts, please resolve those before we can evaluate the pull request.

github-actions[bot] avatar Jun 18 '24 14:06 github-actions[bot]