Commit graph

213 commits

Author SHA1 Message Date
deflax 41e2e5f77c dont add announcement job if one exists 2024-01-17 05:13:57 +02:00
deflax 751edc5903 chatgpt said i should put a comma there :D 2024-01-17 05:01:25 +02:00
deflax 03a629e13b rename strings 2024-01-17 04:58:56 +02:00
deflax 26b413725f set annoncement trigger 2024-01-17 04:28:27 +02:00
deflax 7dcac2f191 remove announcement job after we fully check the db for live streams 2024-01-17 04:26:42 +02:00
deflax 0bbc81e50f debug 2024-01-17 04:13:02 +02:00
deflax 22646613f8 verbose annoucement 2024-01-17 04:08:55 +02:00
deflax 046c0212c8 test logger_discord 2024-01-17 04:01:48 +02:00
deflax e4383d8641 lower retry attempts to 15 2024-01-17 04:01:13 +02:00
deflax 49f155bc8b test logging 2024-01-17 03:49:40 +02:00
deflax 24f8a0faa1 announce time in utc 2024-01-17 03:20:55 +02:00
deflax 6f02e20922 remove announce only if it exists 2024-01-17 03:18:58 +02:00
deflax b887707450 record if prio = 2 2024-01-17 03:13:45 +02:00
deflax be3b09d3a3 announce live channel 2024-01-17 02:42:32 +02:00
deflax 4ab45cd8bc use the interval trigger keyword 2024-01-16 19:35:35 +02:00
deflax 03968df87b import the trigger 2024-01-16 19:31:05 +02:00
deflax 4c0aba233b set the trigger 2024-01-16 19:29:52 +02:00
deflax 51ed9c4aed schedule the test task to run every 5 seconds 2024-01-16 19:28:10 +02:00
deflax 4cb5695855 start the bot withing asincio event loop 2024-01-16 19:23:27 +02:00
deflax 8156cb5a61 remove await from starting the scheduler 2024-01-16 19:19:54 +02:00
deflax 123f1a0c65 remove the task decoration 2024-01-16 19:18:10 +02:00
deflax c77c91dbe1 iterate values of the dict items 2024-01-16 19:11:09 +02:00
deflax d93992b198 fix missing await 2024-01-16 18:59:24 +02:00
deflax c2919314b0 fix time function context 2024-01-16 18:57:34 +02:00
deflax d839b229f7 fix e typo 2024-01-16 18:56:20 +02:00
deflax ee103fca77 implement counter show fn 2024-01-16 18:50:59 +02:00
deflax 20eb7095d2 test 2024-01-16 18:45:24 +02:00
deflax 0c77af932b test 2024-01-16 18:44:04 +02:00
deflax deea320d98 return json from the db request 2024-01-16 18:42:23 +02:00
deflax 5662f0eca3 test 2024-01-16 18:39:59 +02:00
deflax 76347bfc48 disable empty db check 2024-01-16 18:38:56 +02:00
deflax cb0ee37d91 test 2024-01-16 18:37:34 +02:00
deflax 049c2cb0db iterate epg database 2024-01-16 18:34:04 +02:00
deflax f02c4bd93c test 2024-01-16 18:25:39 +02:00
deflax c7d4f0b332 send the context to the tasksa 2024-01-16 18:22:34 +02:00
deflax 1bdb41f75d set intents 2024-01-16 18:16:02 +02:00
deflax 83ad5f2613 set bot intents as default() 2024-01-16 18:12:09 +02:00
deflax 092682d725 combine asyncio and discord event loops 2024-01-16 18:06:57 +02:00
deflax fcdef2e17c add the apscheduler 2024-01-16 17:42:22 +02:00
deflax bc2796492a rename main app modules 2024-01-16 17:31:40 +02:00
deflax 1019c3f3da add requests library 2024-01-16 05:35:22 +02:00
deflax bc96b28091 print database 2024-01-16 05:32:57 +02:00
deflax 6917f489d3 move hello function 2024-01-15 23:48:20 +02:00
deflax e94081b747 test discord.py 2024-01-15 05:07:15 +02:00
deflax 13fb4161bf temporary disable sys.exit 2024-01-15 04:55:12 +02:00
deflax 05f9770bfe dix requirements.txt filename 2024-01-15 04:50:55 +02:00
deflax 593877441f define example bot 2024-01-15 04:45:31 +02:00
deflax 728c368db0 define discordbot container 2024-01-15 04:42:05 +02:00
deflax 6efa107932 expand scheduler api with about section and db dump 2024-01-15 03:38:13 +02:00
deflax 818540de67 increase enable_delay 2024-01-15 02:02:58 +02:00
deflax bc9691f5b8 fix a bug that doesnt reset prio on fallback 2024-01-15 01:12:33 +02:00
deflax c05702cd4a include stream_name into the playhead 2024-01-14 22:38:16 +02:00
deflax 8f58cb0827 debug process 2024-01-14 16:50:06 +02:00
deflax b6c0067819 import sys 2024-01-14 16:22:32 +02:00
deflax ee39e064c3 exit if we cant login to tha core api 2024-01-14 16:22:14 +02:00
deflax e80c5233c1 remove html template 2024-01-14 16:02:23 +02:00
deflax ef83562cbc delay the live stream playing and recording 2024-01-13 04:10:04 +02:00
deflax 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
deflax df3cbb2781 hack a sleep so we can recieve a proper hls stream 2024-01-13 03:45:12 +02:00
deflax 62a4aa9596 copy audio and video codec on recording 2024-01-13 03:04:22 +02:00
deflax 2b1acc7f74 add ffmpeg Progress 2024-01-13 01:45:45 +02:00
deflax 88c5055858 move recorded file to the vod dir 2024-01-13 01:14:14 +02:00
deflax b1b552a9d0 define comments and rec_api variable 2024-01-13 00:09:44 +02:00
deflax cd5c15f532 reset rechead after we finish the rec job 2024-01-12 23:29:16 +02:00
deflax 69ebfae058 delay each check for 5 seconds 2024-01-12 22:47:59 +02:00
deflax 4a9ae58740 cancel recording after 20 attempts 2024-01-12 22:43:06 +02:00
deflax 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
deflax e92e4c5097 instal ffmpeg with python bindings inside the scheduler 2024-01-09 16:26:48 +02:00
deflax 55d731b709 dont search for fallbacks wthout updating the db first 2024-01-07 06:32:31 +02:00
deflax 807a4d0ebb remove verbose funcs 2024-01-07 06:05:56 +02:00
deflax 2fc10cf2e6 bootstrap the playhead 2024-01-07 05:55:09 +02:00
deflax a6caa2b0bf define fallback_search function 2024-01-07 05:47:31 +02:00
deflax dc895e2318 execute core_api_init 2024-01-07 05:31:51 +02:00
deflax 567bda270d show database state every 3 minutes 2024-01-07 05:26:15 +02:00
deflax cc6e022d4f convert data 2024-01-07 05:16:29 +02:00
deflax b2181fe25c handle removing running stream 2024-01-07 05:08:54 +02:00
deflax 2426c898d2 update prio 2024-01-07 04:02:15 +02:00
deflax 967b2a4166 update the head based on global and stream prio 2024-01-07 04:01:27 +02:00
deflax d1841f377a exec core_api_sync one time on init 2024-01-07 03:27:14 +02:00
deflax 795682484c handle removing missing job ids 2024-01-07 03:25:53 +02:00
deflax e4bd771275 fix the mess created by chatgpt 2024-01-07 03:14:15 +02:00
deflax 2b0ba2181b remove hardcoded fallback 2024-01-07 02:43:23 +02:00
deflax abf9900f63 rearrange channel fn args 2024-01-07 02:35:00 +02:00
deflax f4d8bc152c the payload is not needed, mr gpt! 2024-01-07 02:32:04 +02:00
deflax cb9c0bb41d refactor process_running_channel without chatgpt :D 2024-01-07 02:25:21 +02:00
deflax 06da63cd0c refactor using chatgpt :] 2024-01-07 02:08:25 +02:00
deflax 64373534d6 refactor init variables and modules 2024-01-07 02:03:15 +02:00
deflax d6906ea14f set scheduler log level from env var 2024-01-07 01:48:26 +02:00
deflax 3ca3302bff show head position and fix the exception handler type 2024-01-07 01:47:51 +02:00
deflax a6469fe208 make tick 180 minutes and use hour for start_at epg 2024-01-07 01:42:39 +02:00
deflax f2f10e7aa2 implement apscheduler 2024-01-07 01:32:06 +02:00
deflax dc96ce83ff flask-apcheduler experiments 2024-01-06 22:26:03 +00:00
deflax a278d817cf set fallback url 2024-01-06 04:59:24 +00:00
deflax d5a0685dac debug epg 2024-01-06 06:49:18 +02:00
deflax 218331efc1 change the way we read the epg 2024-01-06 06:48:06 +02:00
deflax 0f713cdc53 run all jobs on start 2024-01-06 06:15:53 +02:00
deflax e07261deed implement schedule 1.2.1 2024-01-06 06:03:02 +02:00
deflax dbe6fdbd84 finetune gallery ffmpeg settings 2024-01-06 01:02:21 +00:00
deflax 62932bd0cd update readme for vod viewer 2024-01-05 16:15:21 +00:00
deflax ed6d9e63b2 log error 2024-01-04 05:43:19 +00:00
deflax b862e7a9ac remove debug log 2024-01-04 04:07:31 +00:00
deflax 0b1719992d fix typo 2024-01-04 03:45:42 +00:00
deflax e65139ce82 handle exception of the client function 2024-01-04 03:44:23 +00:00
deflax e2c5eaf2e5 remove test archive files 2024-01-04 03:33:18 +00:00
deflax fc21a2a2d8 exclude jsons from restreamer 2024-01-02 01:48:37 +00:00
deflax 140c499540 fix scheduler log level env var 2023-12-31 14:33:50 +00:00
deflax d1986885f6 remove docker-compose.yml.dist 2023-12-31 14:32:41 +00:00
deflax 44cb8eeb2d set segment delete at 168h 2023-12-31 05:08:03 +00:00
deflax 2dde22b448 include the rest of the files 2023-12-31 04:15:22 +00:00
deflax 1f46c23fd8 migrate scheduler and archive services 2023-12-31 02:54:40 +00:00