Commit graph

62 commits

Author SHA1 Message Date
bc9691f5b8 fix a bug that doesnt reset prio on fallback 2024-01-15 01:12:33 +02:00
c05702cd4a include stream_name into the playhead 2024-01-14 22:38:16 +02:00
8f58cb0827 debug process 2024-01-14 16:50:06 +02:00
b6c0067819 import sys 2024-01-14 16:22:32 +02:00
ee39e064c3 exit if we cant login to tha core api 2024-01-14 16:22:14 +02:00
e80c5233c1 remove html template 2024-01-14 16:02:23 +02:00
ef83562cbc delay the live stream playing and recording 2024-01-13 04:10:04 +02:00
0f3486a74e set enable_delay variable so we can give some time for the incoming stream to be ready 2024-01-13 03:59:50 +02:00
df3cbb2781 hack a sleep so we can recieve a proper hls stream 2024-01-13 03:45:12 +02:00
62a4aa9596 copy audio and video codec on recording 2024-01-13 03:04:22 +02:00
2b1acc7f74 add ffmpeg Progress 2024-01-13 01:45:45 +02:00
88c5055858 move recorded file to the vod dir 2024-01-13 01:14:14 +02:00
b1b552a9d0 define comments and rec_api variable 2024-01-13 00:09:44 +02:00
cd5c15f532 reset rechead after we finish the rec job 2024-01-12 23:29:16 +02:00
69ebfae058 delay each check for 5 seconds 2024-01-12 22:47:59 +02:00
4a9ae58740 cancel recording after 20 attempts 2024-01-12 22:43:06 +02:00
39ab8c23d2 check if stream_hls_url exists before we exec the recording 2024-01-12 22:40:37 +02:00
Daniel afx
2409d529ed fix missing : 2024-01-12 16:55:42 +02:00
Daniel afx
a412d8c205 implement stream recorder 2024-01-12 16:54:53 +02:00
Daniel afx
f1d011057a define ffmpeg recorder function 2024-01-11 23:07:31 +02:00
e92e4c5097 instal ffmpeg with python bindings inside the scheduler 2024-01-09 16:26:48 +02:00
55d731b709 dont search for fallbacks wthout updating the db first 2024-01-07 06:32:31 +02:00
807a4d0ebb remove verbose funcs 2024-01-07 06:05:56 +02:00
2fc10cf2e6 bootstrap the playhead 2024-01-07 05:55:09 +02:00
a6caa2b0bf define fallback_search function 2024-01-07 05:47:31 +02:00
dc895e2318 execute core_api_init 2024-01-07 05:31:51 +02:00
567bda270d show database state every 3 minutes 2024-01-07 05:26:15 +02:00
cc6e022d4f convert data 2024-01-07 05:16:29 +02:00
b2181fe25c handle removing running stream 2024-01-07 05:08:54 +02:00
2426c898d2 update prio 2024-01-07 04:02:15 +02:00
967b2a4166 update the head based on global and stream prio 2024-01-07 04:01:27 +02:00
d1841f377a exec core_api_sync one time on init 2024-01-07 03:27:14 +02:00
795682484c handle removing missing job ids 2024-01-07 03:25:53 +02:00
e4bd771275 fix the mess created by chatgpt 2024-01-07 03:14:15 +02:00
2b0ba2181b remove hardcoded fallback 2024-01-07 02:43:23 +02:00
abf9900f63 rearrange channel fn args 2024-01-07 02:35:00 +02:00
f4d8bc152c the payload is not needed, mr gpt! 2024-01-07 02:32:04 +02:00
cb9c0bb41d refactor process_running_channel without chatgpt :D 2024-01-07 02:25:21 +02:00
06da63cd0c refactor using chatgpt :] 2024-01-07 02:08:25 +02:00
64373534d6 refactor init variables and modules 2024-01-07 02:03:15 +02:00
d6906ea14f set scheduler log level from env var 2024-01-07 01:48:26 +02:00
3ca3302bff show head position and fix the exception handler type 2024-01-07 01:47:51 +02:00
a6469fe208 make tick 180 minutes and use hour for start_at epg 2024-01-07 01:42:39 +02:00
f2f10e7aa2 implement apscheduler 2024-01-07 01:32:06 +02:00
dc96ce83ff flask-apcheduler experiments 2024-01-06 22:26:03 +00:00
a278d817cf set fallback url 2024-01-06 04:59:24 +00:00
d5a0685dac debug epg 2024-01-06 06:49:18 +02:00
218331efc1 change the way we read the epg 2024-01-06 06:48:06 +02:00
0f713cdc53 run all jobs on start 2024-01-06 06:15:53 +02:00
e07261deed implement schedule 1.2.1 2024-01-06 06:03:02 +02:00