Commit Graph

9 Commits

Author SHA1 Message Date
Erik Thuning
bfe68b9250 Fixed a typo 2024-03-27 10:40:31 +01:00
Erik Thuning
b81bd64ffd Made it possible to have more than one handler of the same type
by making the handler's queue an init parameter.
2023-11-23 15:41:42 +01: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
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
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
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
83b3ca4900 Shorter dict accesses 2022-10-19 16:22:11 +02:00
Erik Thuning
3850b518fc Added audio handler, reordered handler imports and list to alphabetical 2022-10-18 14:21:11 +02:00