Commit graph

179 commits

Author SHA1 Message Date
c6a98593d1 remove joblookuperror since we dont use it 2024-01-17 06:20:19 +02:00
220795a6fb remove epg print 2024-01-17 06:11:59 +02:00
a672b0a3a8 show live list in epg if live chans exist 2024-01-17 06:09:09 +02:00
0c54776541 update strings as blockcode 2024-01-17 06:03:52 +02:00
2ea654f344 check if live_channel_id fallback is 0 2024-01-17 06:01:38 +02:00
0aa810fd9e fix variable 2024-01-17 05:57:07 +02:00
f4dc5c9c95 add live channels in EPG 2024-01-17 05:56:11 +02:00
1ae4482092 reformat epg list 2024-01-17 05:53:57 +02:00
ffd395f049 fix a typo 2024-01-17 05:52:24 +02:00
8010861107 modify epglist format 2024-01-17 05:51:35 +02:00
9f6ae93762 execute the announcement job immediately after first run 2024-01-17 05:49:25 +02:00
f461f58a00 change message since we dont know the livestream name at this point 2024-01-17 05:38:06 +02:00
faf5aa7f22 remove the process.id in the exception 2024-01-17 05:36:40 +02:00
146a171628 fix indent 2024-01-17 05:30:30 +02:00
b3480c8bd2 refactor announement 2024-01-17 05:27:30 +02:00
eacea567ba debug 2024-01-17 05:16:36 +02:00
41e2e5f77c dont add announcement job if one exists 2024-01-17 05:13:57 +02:00
751edc5903 chatgpt said i should put a comma there :D 2024-01-17 05:01:25 +02:00
03a629e13b rename strings 2024-01-17 04:58:56 +02:00
26b413725f set annoncement trigger 2024-01-17 04:28:27 +02:00
7dcac2f191 remove announcement job after we fully check the db for live streams 2024-01-17 04:26:42 +02:00
0bbc81e50f debug 2024-01-17 04:13:02 +02:00
22646613f8 verbose annoucement 2024-01-17 04:08:55 +02:00
046c0212c8 test logger_discord 2024-01-17 04:01:48 +02:00
e4383d8641 lower retry attempts to 15 2024-01-17 04:01:13 +02:00
49f155bc8b test logging 2024-01-17 03:49:40 +02:00
24f8a0faa1 announce time in utc 2024-01-17 03:20:55 +02:00
6f02e20922 remove announce only if it exists 2024-01-17 03:18:58 +02:00
b887707450 record if prio = 2 2024-01-17 03:13:45 +02:00
be3b09d3a3 announce live channel 2024-01-17 02:42:32 +02:00
4ab45cd8bc use the interval trigger keyword 2024-01-16 19:35:35 +02:00
03968df87b import the trigger 2024-01-16 19:31:05 +02:00
4c0aba233b set the trigger 2024-01-16 19:29:52 +02:00
51ed9c4aed schedule the test task to run every 5 seconds 2024-01-16 19:28:10 +02:00
4cb5695855 start the bot withing asincio event loop 2024-01-16 19:23:27 +02:00
8156cb5a61 remove await from starting the scheduler 2024-01-16 19:19:54 +02:00
123f1a0c65 remove the task decoration 2024-01-16 19:18:10 +02:00
c77c91dbe1 iterate values of the dict items 2024-01-16 19:11:09 +02:00
d93992b198 fix missing await 2024-01-16 18:59:24 +02:00
c2919314b0 fix time function context 2024-01-16 18:57:34 +02:00
d839b229f7 fix e typo 2024-01-16 18:56:20 +02:00
ee103fca77 implement counter show fn 2024-01-16 18:50:59 +02:00
20eb7095d2 test 2024-01-16 18:45:24 +02:00
0c77af932b test 2024-01-16 18:44:04 +02:00
deea320d98 return json from the db request 2024-01-16 18:42:23 +02:00
5662f0eca3 test 2024-01-16 18:39:59 +02:00
76347bfc48 disable empty db check 2024-01-16 18:38:56 +02:00
cb0ee37d91 test 2024-01-16 18:37:34 +02:00
049c2cb0db iterate epg database 2024-01-16 18:34:04 +02:00
f02c4bd93c test 2024-01-16 18:25:39 +02:00
c7d4f0b332 send the context to the tasksa 2024-01-16 18:22:34 +02:00
1bdb41f75d set intents 2024-01-16 18:16:02 +02:00
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