SergeantPanda
ec21e8329d
Enhancement: Increase time for a client to search for an available connection from 1.5 seconds to 3 seconds. This will help when clients are changing channels and release the old connection AFTER attempting to start the new connection. Closes #503
...
Bug Fix: Fix a bug where searching for an available stream could clear out stream locks for streams that it never acquired a lock for.
2025-10-16 17:38:23 -05:00
SergeantPanda
4df2f79bcf
Bug fix: Fixes bug where if there were no channel profiles other than ALL, streamer and standard accounts could not stream any channels even if they had ALL profiles selected.
2025-10-14 15:03:42 -05:00
SergeantPanda
9dc54fdcff
Fix: Ensure channel_id and channel.uuid are converted to strings before processing. This fixes an issue where sending a stream switch event would fail if the event was sent from a non owning worker.
...
Fixes [Bug]: Manually switching active stream not working when using XC client.
Fixes #269
2025-10-09 19:10:38 -05:00
SergeantPanda
0cdce1a81b
Enhancement: Refactor stream selection logic when all available profiles have max connections used. Will retry faster.
2025-09-25 17:49:05 -05:00
SergeantPanda
98f485bac9
Fixed issue with recurring api calls.
2025-09-05 11:37:49 -05:00
SergeantPanda
6f6c28ca7c
Convert custom_properties to jsonb in the backend.
2025-09-02 09:41:51 -05:00
SergeantPanda
8e2c6c7780
Check for any state to detmine if channel is running.
2025-07-01 10:57:07 -05:00
SergeantPanda
3448a3b494
Add buffering as an active state.
2025-06-17 12:30:20 -05:00
dekzter
3f445607e0
looooots of updates for user-management, initial commit of access control
2025-05-31 18:01:46 -04:00
dekzter
6504db3bd4
merged in dev
2025-05-28 18:34:45 -04:00
SergeantPanda
50048518a9
Fixes bug where mulitiple channel initializations can occur which leads to choppy streams and zombie channels.
2025-05-27 19:05:26 -05:00
dekzter
0b0373f4ee
allow 'all' for streamer class by relating no profiles
2025-05-23 08:21:31 -04:00
dekzter
e95c0859ab
user custom properties, xc has its own password, properly checking xc permissions for streaming
2025-05-22 15:21:43 -04:00
dekzter
74d58515d0
user management, user levels, user level channel access
2025-05-18 11:19:34 -04:00
SergeantPanda
b811a3d45b
More sleep events.
2025-05-01 09:05:51 -05:00
SergeantPanda
d27e4b7e8a
Release stream lock before returning url if using redirect profile.
2025-04-29 14:14:40 -05:00
SergeantPanda
b439eb810c
Cleanup channel lock instead of stream lock.
2025-04-28 15:05:58 -05:00
SergeantPanda
88f27d62f1
Adds current m3u profile to stats.
2025-04-27 14:43:09 -05:00
SergeantPanda
1a1c5dea9e
Uses correct api to slected specific stream id.
2025-04-24 20:07:36 -05:00
SergeantPanda
14621598f6
Added url validation for redirect profile.
2025-04-15 08:28:47 -05:00
SergeantPanda
5bb6539586
Fixes multiple streams in a row being dead.
2025-04-15 07:44:08 -05:00
SergeantPanda
02b5fb6fc0
Changed logging level of channel state checks for client.
2025-04-14 21:04:33 -05:00
SergeantPanda
60fd5afd94
More robust stream switches. Has client wait if in switching state.
2025-04-14 21:03:33 -05:00
SergeantPanda
a463d06140
Fixes stream preview.
2025-04-13 10:02:30 -05:00
SergeantPanda
6ccc2b9a6d
Enhance stream retrieval process with error handling and retry logic
...
- Updated `get_stream` method to return error reasons for better debugging.
- Improved `generate_stream_url` to handle errors and log specific issues.
- Implemented retry mechanism in `stream_ts` view for obtaining streams with exponential backoff.
- Added new configuration options for connection timeout and retry intervals.
2025-04-10 08:38:53 -05:00
SergeantPanda
5c74aec790
Fixes channel switching issue (release lock faster)
2025-04-10 07:38:29 -05:00
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
8292e8ae17
Change next_stream and change_stream back to authentication required after changing for testing.
2025-03-28 11:58:07 -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
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
560345f7b1
Changed profile to stream_profile and utilized constants more for consistency.
2025-03-25 12:13:06 -05:00
SergeantPanda
77002beaac
Improved logging to include current component name.
2025-03-22 07:42:46 -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
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
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
6f802094a7
Fixes channels not properly cleaning up.
2025-03-16 16:09:02 -05:00
SergeantPanda
9c6f31e014
Channel stop is working correclty.
2025-03-16 12:35:06 -05:00
SergeantPanda
e47c3328e4
Added stop channel view.
2025-03-16 11:45:47 -05:00