250 Commits

Author SHA1 Message Date
Erik Thuning
0f0c97125f Added an FFmpegException type 2023-04-14 15:05:56 +02:00
Erik Thuning
9a372df9f6 Updated ERADME to reflect new course format 2023-04-14 15:05:23 +02:00
Erik Thuning
953181cdcb Updated the tests to use the new course syntax 2023-04-14 15:02:07 +02:00
Erik Thuning
480846b617 Refactored the temporary copy function and moved creation of the base directory for a package 2023-04-14 15:01:09 +02:00
Erik Thuning
ab1d3bd86a Removed on_modified handling since it triggers unexpectedly 2023-04-14 14:23:29 +02:00
Erik Thuning
9bceb4c000 Added pickup of existing jobs on startup, and added handling of modified files 2023-04-14 11:20:53 +02:00
Erik Thuning
8c25f811c6 Updated the course format in the validation objects 2023-04-14 11:19:11 +02:00
Erik Thuning
1d44234c3c Fixed a number of bugs in the cattura preprocessor 2023-04-14 11:18:44 +02:00
Erik Thuning
6c48c103b1 The format for a course has changed, updated the thumbnail generation logic to match 2023-04-14 11:16:07 +02:00
Erik Thuning
b15bcfb652 Temporarily(?) removed the requirement of at least one video stream having to play audio 2023-04-14 11:15:11 +02:00
Erik Thuning
6bee8a7e1c parseSemester had a few bugs, fixed 2023-04-14 11:14:38 +02:00
Erik Thuning
9d10f63587 Temporary files are now cleaned out when the daemon starts up 2023-04-14 11:13:49 +02:00
Erik Thuning
8dd40f95a5 Changed the name of the run script to be more easily identifiable. Also updated the example systemd unit 2023-04-04 11:41:22 +02:00
Erik Thuning
320bacb3b8 Added missing import 2023-04-04 11:34:43 +02:00
Erik Thuning
23a09b651e Updated README with more details 2023-03-30 15:23:17 +02:00
Erik Thuning
8582e32f1d Finished updating docstrings to conform to convention. Also made abstract methods throw an exception if they get called. 2023-03-28 16:43:45 +02:00
Erik Thuning
132f657ddb Fixed docstrings to follow convention 2023-03-27 17:20:47 +02:00
Erik Thuning
35334a1af2 Added a comment 2023-03-27 17:20:39 +02:00
Erik Thuning
5dcc856177 Moved some functions from utils into more logical places, and opportunistically fixed docstrings to follow the convention 2023-03-27 17:01:59 +02:00
Erik Thuning
6b7fff6294 Fixed erorr notifications crashing the test 2023-03-27 17:00:47 +02:00
Erik Thuning
278fe30b02 Refactored subtitles handling to include generation via whisper. 2023-03-27 16:36:27 +02:00
Erik Thuning
d25eeda71e Added missing import 2023-03-17 10:14:50 +01:00
Erik Thuning
870c832ac0 Documentation updates 2023-03-16 07:40:32 +01:00
Erik Thuning
e310f9c529 Refactored the ldap class to use a new connection for each request.
This eliminates dangling connections.
2023-03-15 11:04:49 +01:00
Erik Thuning
826f548e63 Create a temporary copy of the existing package state,
send that to _handle() methods and clean up after handling is done.
2023-03-15 11:04:24 +01:00
Erik Thuning
b1c74aa86b Added existing package data to handler input 2023-03-14 16:54:04 +01:00
Erik Thuning
df0a0419b6 Fixed typo 2023-03-14 16:39:32 +01:00
Erik Thuning
6fd3c3b256 Removed obsolete comment 2023-03-14 16:32:28 +01:00
Erik Thuning
b8834ce7d6 Renamed utils.ffmpegjob to utils.asyncjob in preparation for also running whisper jobs through the same function 2023-03-10 15:45:00 +01:00
Erik Thuning
e2adf73aa6 Added tests for handling of invalid queue items 2022-12-07 16:27:16 +01:00
Erik Thuning
8e7d92962f Added logging to Distributor and QueueReader 2022-12-07 16:24:21 +01:00
Erik Thuning
a12fc96d67 asdict() call was missing from http notification function 2022-12-07 16:14:11 +01:00
Erik Thuning
cf92d2490c Logging in notifier 2022-12-07 16:13:53 +01:00
Erik Thuning
a37323a796 Reformatted log line 2022-12-07 16:12:02 +01:00
Erik Thuning
f006df7149 Abstract methods now raise NotImplementedError; properly log errors in subprocesses 2022-12-07 14:06:17 +01:00
Erik Thuning
286891ef77 Updated documentation to reflect new course format 2022-12-07 11:35:28 +01:00
Erik Thuning
de94d89814 Logging each start of processing on a queue item 2022-12-07 11:12:18 +01:00
Erik Thuning
82eb9d110c Added a deduplicating log handler for the stderr logger 2022-12-06 16:06:31 +01:00
Erik Thuning
b11f567903 Added logging to Distributor class 2022-12-06 15:14:42 +01:00
Erik Thuning
517a5a1e55 Logging handlers are now cleared on pipeline creation 2022-12-06 15:12:48 +01:00
Erik Thuning
feb1e1701a Changed the course format returned by get_booking() to a dict including both course designation and semester 2022-12-06 14:52:39 +01:00
Erik Thuning
3c276ecde3 Added logging 2022-11-28 16:28:47 +01:00
Erik Thuning
288d2665bf Flip-flopping on string quotes 2022-11-28 16:28:32 +01:00
Erik Thuning
a8ecc469dd The superclass already has self.logger 2022-11-28 16:15:26 +01:00
Erik Thuning
c42e4cb72e Added logging to notifier 2022-11-28 16:08:36 +01:00
Erik Thuning
ccead70ed3 Made string quotes consistent 2022-11-28 15:58:09 +01:00
Erik Thuning
bee9b78a8f Added startup/shutdown logging to QueueThread 2022-11-28 15:54:59 +01:00
Erik Thuning
c9349ae30b Added logging 2022-11-28 11:40:43 +01:00
Erik Thuning
46bff015aa Added ThumbnailHandler config section 2022-11-28 11:39:43 +01:00
Erik Thuning
905d7f2f01 Fixed various slop so tests pass 2022-10-31 14:16:04 +01:00