195 Commits

Author SHA1 Message Date
Erik Thuning a6dc1efd54 Reworking the queueing process
- Queue is now populated in order of creation time
 - The watchdog now filters out invalid queue items just as the startup loop does
2022-03-23 11:03:41 +01:00
Erik Thuning f7bd79884d Reworked schedule fetching. Fixed a number of bugs in the process. 2022-03-22 17:06:25 +01:00
Erik Thuning 5084efc5c4 Implemented skipping of non-conforming queue items 2022-03-22 16:11:14 +01:00
Erik Thuning 0c7dc840c2 Commented out creation of educationalType tag
It's just an int at the moment
2022-03-22 13:19:53 +01:00
Erik Thuning 88dcf39014 Better exception from daisy api 2022-03-22 13:19:36 +01:00
Erik Thuning 109f494eef Added support for reading titles from centrally scheduled events 2022-03-21 17:06:31 +01:00
Erik Thuning 79f9271a9e Moved from ''.format() to f'', and made string literas use consistent quotes
String literals that would need escaping to work with single quotes
still use double quotes for readability.
2022-03-21 11:37:47 +01:00
Erik Thuning ce2ac3fa17 Making sure booking isn't null when modifying a member 2022-03-21 11:02:30 +01:00
Erik Thuning 75d5b21ea8 Now catching all exceptions so we hopefully never crash 2022-03-20 11:54:50 +01:00
Erik Thuning aa4fea4eb1 Ugly hack waiting for daisy to shape up 2022-03-18 17:05:49 +01:00
Erik Thuning 1191e80338 Originals only get stashed in debug mode now. 2022-03-18 15:11:29 +01:00
Erik Thuning af10ea4054 Log start of package creation along with its type 2022-03-18 09:40:44 +01:00
Erik Thuning 67eb9db4c8 Mediasite imports no longer crash on missing (404) stream files 2022-03-18 09:39:55 +01:00
Erik Thuning d137536f9d Missing cattura enrichment no longer crashes the packager 2022-03-17 16:23:38 +01:00
Erik Thuning dd4815523a Desperate flailing 2022-03-11 16:27:17 +01:00
Erik Thuning 752ac20a68 Trying another pixel format 2022-03-11 15:44:52 +01:00
Erik Thuning 36efc7edb7 Hopefully making logging to syslog be less verbose when configured to be so 2022-03-11 15:33:17 +01:00
Erik Thuning df9669dd76 Removed the explicit pixel format argument to ffmpeg 2022-03-11 14:56:47 +01:00
Erik Thuning b021733d2c Added name attributes on all streams 2022-03-11 14:26:39 +01:00
Erik Thuning 8e7542fc60 Added a name attribute to the slide stream in preparation for update support 2022-03-11 13:40:04 +01:00
Erik Thuning cc2cb457f4 Rearranged comments, wrapped long lines and changed some slightly misleading variable names 2022-03-11 12:05:21 +01:00
Erik Thuning 20aa7c7c5b Wrapped long lines 2022-03-11 12:04:16 +01:00
Erik Thuning 2841be2b96 Stopped stashing originals 2022-03-10 14:26:58 +01:00
Erik Thuning 0bf32373a0 Removed step numbering in comments 2022-03-10 14:19:17 +01:00
Erik Thuning 06be774250 Allow subs field to be missing in incoming job 2022-03-09 15:39:10 +01:00
Erik Thuning f08a486874 More consistent formatting 2022-03-09 15:32:55 +01:00
Erik Thuning fcdf95cb6d Add subtitle support in manually uploaded packages 2022-02-24 14:37:00 +01:00
root e02f5b8da2 Stopped stripping decimals from duration when importing from mediasite 2022-02-18 11:41:24 +01:00
root ad83cf901a Added a visibility attribute to presentations imported from mediasite 2022-02-16 14:06:49 +01:00
Erik Thuning 9cfa8d6915 Style fix - wrapped and refactored long lines 2022-02-03 16:51:10 +01:00
Erik Thuning 491e5a4964 Now catching fileNotFound! 2022-01-25 16:27:59 +01:00
Erik Thuning 7574199ba6 Fixed a bug in cleanup 2022-01-12 13:10:16 +01:00
Erik Thuning 3c7276ed40 Made description optional and made sure it always exists in a packed json.
Also made string quotes consistent
2021-12-17 10:47:39 +01:00
Erik Thuning de2395f737 Fixed the inevitable bugs 2021-11-26 15:18:14 +01:00
Erik Thuning cb2b8c4a97 Refactored logging to log errors to file along with logging to syslog and email 2021-11-26 14:13:57 +01:00
dafo5502 ad9583aa10 comments 2021-10-26 15:59:04 +02:00
dafo5502 ec549a99b4 comments 2021-10-26 15:38:43 +02:00
dafo5502 3f787ab5d0 added handling of non existant error files 2021-10-26 14:29:26 +02:00
dafo5502 c0295203a7 cleaning up of old error files upon successfull completion of a job 2021-10-26 14:18:56 +02:00
dafo5502 06f6e6f2d3 first iteration of errorhandling' 2021-10-26 14:01:42 +02:00
dafo5502 0ceb83e0a4 clean 2021-10-25 11:25:08 +02:00
dafo5502 23f740ae90 fixed obj bug where the same object is just updated with new data and then appended to array. meaning the array contains n obj referencing the same object. 2021-10-22 11:09:10 +02:00
dafo5502 808cbcfb3c more commenting 2021-10-22 09:38:19 +02:00
dafo5502 b6217985f2 further commenting 2021-10-21 16:16:21 +02:00
dafo5502 d31691b67d more comments 2021-10-21 15:51:13 +02:00
dafo5502 e7c81318f6 comments 2021-10-21 15:45:16 +02:00
dafo5502 10c46f9c1a more comments and cleaning 2021-10-21 15:44:23 +02:00
dafo5502 345be98371 clean and comments 2021-10-21 15:17:52 +02:00
dafo5502 6306418038 coments 2021-10-21 15:16:41 +02:00
dafo5502 45a45621e3 edgecases? 2021-10-21 14:17:21 +02:00