Erik Thuning
f8ab46bac8
Added support for uploads with name prefix
2024-09-06 11:40:59 +02:00
Erik Thuning
8de039a3f3
Fixed some bugs so the preprocessor works:
...
- start time is now recorded as a timestamp
- typo fix: match.groups() -> match.group()
- Subtitle generation is only requested if the presentation has video on channel 1
2024-06-18 11:23:43 +02:00
Erik Thuning
4842ed56f1
Fixed several errors in the arec preprocessor
...
* renamed the 'data' dict to 'arec_data' and made sure all references are consistent
* switched the recorder identifier from hostname to description, because there was a wild \n in the hostname for unknown reasons
* removed timezone awareness from starttime and endtime to make them compatible with times loaded from daisy
2024-06-13 15:37:21 +02:00
Erik Thuning
b7a3d7dec2
Activated the arec preprocessor
2024-06-13 15:36:25 +02:00
Erik Thuning
dec2da4310
Added a preprocessor for arec recorders.
...
Also moved the code for creating a basic jobspec and pulling information from
the relevant daisy booking into the preprocessor superclass so it can be
called by both the cattura and arec preprocessors.
2024-06-04 15:53:46 +02:00
30361abdd9
VisibilityHandler ( #3 )
...
Create a VisibilityHandler
Co-authored-by: nenzen <stefan@nenzen.com>
Reviewed-on: #3
Reviewed-by: erth9960 <thuning@dsv.su.se>
Co-authored-by: Stefan Nenzén <nenzen@dsv.su.se>
Co-committed-by: Stefan Nenzén <nenzen@dsv.su.se>
2024-03-27 14:54:33 +01:00
Erik Thuning
02341f0cd8
The original check was a bit hasty, this one should actually work properly.
2024-02-06 14:17:03 +01:00
Erik Thuning
8a0a9fbc33
Set the cattura preprocessor to automatically request subtitling
...
based on the camera source.
2024-02-06 13:31:11 +01:00
Erik Thuning
8f466a8e09
Changed ValidationException to ValueError in default preprocessor,
...
in order to harmonize with errors thrown by raise_for_structure()
2023-11-08 10:30:17 +01:00
Erik Thuning
10db80cbfa
Forgot an import
2023-11-08 10:22:48 +01:00
Erik Thuning
08a8db11b8
Accidentally a dict key
2023-10-25 16:03:40 +02:00
Erik Thuning
e08184e05b
Added an explicit check for existence of upload_dir if the job specifies it.
2023-10-19 11:22:12 +02:00
Erik Thuning
7b3eb380c0
Missed an instance of the creation key to be changed
2023-08-30 20:40:13 +02:00
Erik Thuning
8bc1ff6318
Removed an empty subtitles key from cattura preprocessing, and fixed a misnamed 'creation' key to the correct name 'created'
2023-08-30 14:58:31 +02:00
Erik Thuning
1d44234c3c
Fixed a number of bugs in the cattura preprocessor
2023-04-14 11:18:44 +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
6fd3c3b256
Removed obsolete comment
2023-03-14 16:32:28 +01:00
Erik Thuning
6291b66c86
Capitalized all sections in config
...
Implemented HTTP notification
2022-10-24 16:47:24 +02:00
Erik Thuning
eb9f0b7371
Renamed QueueThread._handle() to ._process()
...
Renamed Preprocessor._handle() to ._preprocess()
Consistency updates to all subclasses
2022-10-21 23:15:38 +02:00
Erik Thuning
3716d3dc0b
Revert "Forgot to remove an import"
...
This reverts commit 5734d954a6
.
2022-10-21 16:34:59 +02:00
Erik Thuning
1a5cade01d
Didn't read the docs properly, my solution was correct from the beginning
...
This reverts commit a12374b352
.
2022-10-21 16:34:18 +02:00
Erik Thuning
5734d954a6
Forgot to remove an import
2022-10-21 16:24:26 +02:00
Erik Thuning
a12374b352
Found the proper way to provide a fallback on missing configparser section
2022-10-21 15:29:50 +02:00
Erik Thuning
ac1a1d9fbf
Tyop fixes
2022-10-21 14:40:27 +02:00
Erik Thuning
f1368e3398
Moved creation of Daisy object closer to consumers
2022-10-21 11:28:33 +02:00
Erik Thuning
398f59e66b
Fixes
2022-10-17 13:56:54 +02:00
Erik Thuning
7d403d15cc
Minor fixes
2022-10-17 13:18:58 +02:00
Erik Thuning
6affc6f0ae
Removed dictionary item alignment for PEP 8 compliance,
...
jobspec -> queueitem for understandability
2022-10-14 16:34:01 +02:00
Erik Thuning
21750aa9d2
Restructured config passing
2022-10-14 15:15:55 +02:00
Erik Thuning
bd9f31f31d
Added localizations for eduTypes
2022-10-14 11:22:50 +02:00
Erik Thuning
bfb62c337f
Added remaining preprocessors,
...
minor update to daisy class for educationalType lookup,
updated example config to reflect preprocessor needs
2022-10-13 17:04:04 +02:00
Erik Thuning
18aa270f93
Added daisy API access to preprocessors
2022-10-13 13:45:21 +02:00
Erik Thuning
5b73b21cb6
Added config to constructor and added validate(). Removed create_pkgid().
2022-10-07 13:51:30 +02:00
Erik Thuning
6f53fc7a4b
Preprocessors now get optional config
2022-10-07 13:41:39 +02:00
Erik Thuning
f8cde16001
Started work on preprocessors
2022-10-03 16:37:56 +02:00