Commit graph

114 commits

Author SHA1 Message Date
dekzter
7351264e8a centralized and lazy-loaded redis client singleton, check for manage.py commands so we don't init proxyservers (redis connection), put manage commmands before starting uwsgi 2025-04-04 16:18:12 -04:00
SergeantPanda
cf059045c1 Decoupled from global redis client. 2025-04-04 14:21:27 -05:00
dekzter
c5e0de5d48 logos, channel numbers, websocket regex test so we can properly test against python regex and not javascript 2025-04-02 16:27:28 -04:00
SergeantPanda
8292e8ae17 Change next_stream and change_stream back to authentication required after changing for testing. 2025-03-28 11:58:07 -05:00
SergeantPanda
530788877d Implement heartbeat thread exit condition after consecutive empty checks 2025-03-28 09:39:35 -05:00
SergeantPanda
cbf4fa33d6 Better method to keep track of next stream to use. 2025-03-28 09:04:04 -05:00
SergeantPanda
2f995b16fd Fixes stream switches not honouring user selected order. 2025-03-28 08:50:57 -05:00
SergeantPanda
e2d9e233da Added ability to send a next stream command. 2025-03-27 20:49:24 -05:00
SergeantPanda
ce6e019e6a Add m3u_profile (id) to redis when channel is initialized. 2025-03-27 19:24:43 -05:00
SergeantPanda
4e9a52c80e Removed invalid character in logging. 2025-03-27 18:53:59 -05:00
SergeantPanda
3f440d855e Replaced invalid character in logs. 2025-03-27 18:50:48 -05:00
SergeantPanda
d7d3138703 Changed variable name for clarity. 2025-03-27 17:52:27 -05:00
SergeantPanda
b9f4893261 Fixes broken channels stats after field name change from 'profile' to 'stream_profile' 2025-03-27 16:11:04 -05:00
dekzter
bf0c50dab2 Merge branch 'epg-refactor' into stream-previews 2025-03-27 09:44:07 -04:00
dekzter
91a85020c3 modifications to allow previewing of a raw stream 2025-03-27 09:26:04 -04:00
SergeantPanda
9ab76c3129 updated variable names for clarity. 2025-03-25 13:36:55 -05:00
SergeantPanda
4283162ba9 Switched profile to stream_profile in channel_service 2025-03-25 13:04:51 -05:00
SergeantPanda
7bcfc74c13 Missed a couple constants in try next stream. 2025-03-25 12:16:01 -05:00
SergeantPanda
560345f7b1 Changed profile to stream_profile and utilized constants more for consistency. 2025-03-25 12:13:06 -05:00
SergeantPanda
1f6a33d9f7 Added bitrates for channels as well as total data transferred. 2025-03-24 18:02:21 -05:00
SergeantPanda
2b42838bfe Added current bitrate for client and renamed transfer_rate_KBps to avg_rate_KBps for clarity. 2025-03-24 17:08:17 -05:00
SergeantPanda
b9d0b07d69 Added current bitrate for client and renamed transfer_rate_KBps to avg_rate_KBps for clarity. 2025-03-24 17:06:01 -05:00
dekzter
cb013c0a0d merged in singular-redis branch 2025-03-22 09:58:48 -04:00
dekzter
42587a9f1a merged in main 2025-03-22 09:56:36 -04:00
dekzter
d6e05445f3 m3u group filters 2025-03-22 09:56:00 -04:00
SergeantPanda
d622c96aba Improved connection handling for redis pubsub. 2025-03-22 08:48:39 -05:00
SergeantPanda
77002beaac Improved logging to include current component name. 2025-03-22 07:42:46 -05:00
SergeantPanda
d04ba07d10 Added client speed statistics to client metadata in redis. 2025-03-21 19:59:54 -05:00
SergeantPanda
efaa7f7195 Singular redis-client. 2025-03-21 10:55:13 -05:00
SergeantPanda
4738d301d1 Fixed regression with buffer checks when clients should be disconnecting due to failure. 2025-03-20 21:03:01 -05:00
SergeantPanda
cb02069fb7 Fixed incorrect logic on stepped retry timers. 2025-03-20 19:03:26 -05:00
dekzter
d3f03145e7 profile_value needs to be ID so we can identify it later 2025-03-20 17:32:34 -04:00
SergeantPanda
ed00f2f876 Fixed streams not switching to FFmpeg if HLS is detected. 2025-03-20 16:12:08 -05:00
SergeantPanda
6d84821942 Adds better checks for a channel that is partially initialized and clears it. 2025-03-20 15:56:34 -05:00
SergeantPanda
d6a452548c Automatic stream switching is working. 2025-03-20 15:28:12 -05:00
SergeantPanda
dc43fb41b5 More refactoring. 2025-03-20 08:45:23 -05:00
SergeantPanda
86e6c942d7 Final refactoring and minor bug fix for transcode stream switching. 2025-03-19 20:22:13 -05:00
SergeantPanda
569846a687 Lots more refactoring. 2025-03-19 19:45:29 -05:00
SergeantPanda
f03b885d71 Lots more refactoring. 2025-03-19 19:03:33 -05:00
SergeantPanda
59245b1401 More refactoring. 2025-03-19 16:45:47 -05:00
SergeantPanda
8f1c233d64 Moved stream generator out of stream_ts and into stream_generator.py 2025-03-19 16:36:01 -05:00
SergeantPanda
d878eda1a7 Only switch to default ffmpeg if proxy is selected. 2025-03-19 10:54:09 -05:00
SergeantPanda
061ca4d46e Check for HLS switch to FFmpeg if detected. 2025-03-19 09:56:32 -05:00
SergeantPanda
8e3c3cb7e8 Fixes timers not releasing on reconnect attempts 2025-03-18 12:10:27 -05:00
SergeantPanda
71f7357d0b Fixed bug: RuntimeError: dictionary changed size during iteration 2025-03-18 10:22:41 -05:00
dekzter
7a7cd0711d live stats dashboard 2025-03-17 12:42:58 -04:00
dekzter
b159d61905 authentication added 2025-03-16 20:10:54 -04:00
SergeantPanda
8bb9317f92 Individual client stopping is fully working now. 2025-03-16 18:11:35 -05:00
SergeantPanda
03bfaeb24f Adding stop client abilities. Still needs some work. 2025-03-16 17:16:10 -05:00
SergeantPanda
921a63c730 Working on resource cleanup. 2025-03-16 16:45:00 -05:00