Erik Thuning
1957b59e85
The poster handler now generates posters for existing streams if
...
the job contains a falsy 'poster' value for a stream with
no 'video' key.
2022-10-24 16:54:48 +02:00
Erik Thuning
df64ccffb0
The exception shouldn't cause exceptions
2022-10-24 16:48:14 +02:00
Erik Thuning
6291b66c86
Capitalized all sections in config
...
Implemented HTTP notification
2022-10-24 16:47:24 +02:00
Erik Thuning
c8c2d04ed3
Wording change
2022-10-24 16:38:32 +02:00
Erik Thuning
0b06690a38
* Completed ThumbnailHandler
...
* Simplified writing Package to json
* Collector now accepts Handler objects instead of name strings
* Refactored Handler._handle() and its invocation from _process():
- _handle() now returns apply_func
- boilerplate moved into Handler._process()
- Handlers can require other handlers to finish before them
2022-10-22 00:19:03 +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
c90ea5966f
Allow None in package for duration and creation
2022-10-21 23:12:31 +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
a494322a08
Don't need fallbacks for package keys anymore
2022-10-21 15:31:28 +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
fc23dff9da
Package now guarantees existence of all valid top-level keys
2022-10-21 15:28:07 +02:00
Erik Thuning
20a26de102
splitext reutnrs more than one thing
2022-10-21 14:50:02 +02:00
Erik Thuning
a1af06fae8
Added thumbnail generation handler
2022-10-21 14:43:21 +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
d3090d7dc4
Added ldap utility class
2022-10-21 11:15:17 +02:00
Erik Thuning
0f3da0a717
Async jobs now have a centralized function in Handler.
2022-10-21 10:59:58 +02:00
Erik Thuning
a9596f71cb
Catching ffprobe errors
2022-10-20 23:41:13 +02:00
Erik Thuning
9e51321e6a
Implemented poster handler
2022-10-20 22:35:16 +02:00
Erik Thuning
9cc0efd433
Forgot to add the poster to the metadata
2022-10-20 22:34:50 +02:00
Erik Thuning
b15045eb13
Removed unnecessary import
2022-10-20 21:08:07 +02:00
Erik Thuning
24c32a2419
Updated help string
2022-10-20 17:02:05 +02:00
Erik Thuning
58a7362820
Activated slides handler
2022-10-20 17:01:17 +02:00
Erik Thuning
f772aa5033
Missing import
2022-10-20 17:01:04 +02:00
Erik Thuning
782f994125
Typo
2022-10-20 16:51:13 +02:00
Erik Thuning
1ccd27d65a
Implemented slide handler,
...
moved ffmpeg invocations to utils.py,
moved duration handling to Package class.
2022-10-20 16:49:31 +02:00
Erik Thuning
d609173dca
Revert "Hander.validate() is now a no-op"
...
This reverts commit c0d8307bb1
.
2022-10-20 14:13:07 +02:00
Erik Thuning
48a825f245
Added pattern matching to incoming queue item filenames
2022-10-20 14:04:46 +02:00
Erik Thuning
cdc3af2187
Worker pool is now shared between handlers
2022-10-20 13:25:13 +02:00
Erik Thuning
bcc91cbcb3
Reordered imports
2022-10-20 13:23:37 +02:00
Erik Thuning
eca8caedf1
Updated tests
2022-10-20 09:37:27 +02:00
Erik Thuning
a6c714de33
TranscodeHandler now uses a multiprocessing pool for transcode jobs
2022-10-19 17:04:30 +02:00
Erik Thuning
3ce89b8056
Package IDs are now properly handled at the start of the pipeline
2022-10-19 17:01:29 +02:00
Erik Thuning
e00bbdab60
Forgot to remove an import
2022-10-19 16:23:04 +02:00
Erik Thuning
83b3ca4900
Shorter dict accesses
2022-10-19 16:22:11 +02:00
Erik Thuning
3ab654d485
Moved ID generation to the distributor
...
so incoming jobs for new packages get consistent IDs between handlers
2022-10-19 16:20:58 +02:00
Erik Thuning
9c5744d686
Error fixes
2022-10-19 10:19:48 +02:00
Erik Thuning
4e9b3f1aec
Jobs without a pkg_id are now properly handled.
...
Removed premature optimizations from PackageManager
2022-10-18 16:37:29 +02:00
Erik Thuning
1889bb61bb
Updated example systemd unit to reflect the correct run script
2022-10-18 15:54:21 +02:00
Erik Thuning
5de59ffceb
Added a run script
2022-10-18 15:41:45 +02:00
Erik Thuning
f305b57811
Duration is now computed from the streams instead of passed by the user
2022-10-18 14:25:36 +02:00
Erik Thuning
917b8f133c
Efficiency
2022-10-18 14:25:18 +02:00
Erik Thuning
89316f8024
Docstring shouldn't lie
2022-10-18 14:24:08 +02:00
Erik Thuning
3001c9fb7a
streams key now always exists in a package
2022-10-18 14:23:29 +02:00
Erik Thuning
3850b518fc
Added audio handler, reordered handler imports and list to alphabetical
2022-10-18 14:21:11 +02:00
Erik Thuning
0c1093f72b
Formatting
2022-10-18 14:16:09 +02:00
Erik Thuning
ef6bd5831d
Moving to dataclasses for complex queue items
2022-10-17 17:10:16 +02:00
Erik Thuning
23a21d19ea
Updated tests to work with preprocessors
2022-10-17 15:58:00 +02:00