Commit graph

77 commits

Author SHA1 Message Date
83ad5f2613 set bot intents as default() 2024-01-16 18:12:09 +02:00
092682d725 combine asyncio and discord event loops 2024-01-16 18:06:57 +02:00
fcdef2e17c add the apscheduler 2024-01-16 17:42:22 +02:00
bc2796492a rename main app modules 2024-01-16 17:31:40 +02:00
1019c3f3da add requests library 2024-01-16 05:35:22 +02:00
bc96b28091 print database 2024-01-16 05:32:57 +02:00
6917f489d3 move hello function 2024-01-15 23:48:20 +02:00
e94081b747 test discord.py 2024-01-15 05:07:15 +02:00
13fb4161bf temporary disable sys.exit 2024-01-15 04:55:12 +02:00
05f9770bfe dix requirements.txt filename 2024-01-15 04:50:55 +02:00
593877441f define example bot 2024-01-15 04:45:31 +02:00
728c368db0 define discordbot container 2024-01-15 04:42:05 +02:00
6efa107932 expand scheduler api with about section and db dump 2024-01-15 03:38:13 +02:00
818540de67 increase enable_delay 2024-01-15 02:02:58 +02:00
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