Commit graph

551 commits

Author SHA1 Message Date
SergeantPanda
bc08cb1270 Ask to delete local files as well. 2025-07-18 15:23:30 -05:00
SergeantPanda
e7771d5b67 Allow deleting logos that are assigned to channels. 2025-07-18 11:36:15 -05:00
SergeantPanda
8e2309ac58 Fixes logo uploads 2025-07-17 21:02:50 -05:00
SergeantPanda
122b902f0f Merge branch 'dev' of https://github.com/Dispatcharr/Dispatcharr into logo-manager 2025-07-17 19:56:11 -05:00
SergeantPanda
8fa27904e7 Add ability to override group name during auto channel creation. 2025-07-17 18:42:42 -05:00
SergeantPanda
e9055a5ad6 Activate setting 2025-07-17 17:36:32 -05:00
SergeantPanda
a5f7a88ba0 Add option to force dummy epg. 2025-07-17 16:54:37 -05:00
SergeantPanda
3949a2ed5c Fixes cleanup unused logos. 2025-07-15 22:00:18 -05:00
SergeantPanda
fa470bee35 Add bulk delete abilites and cleanup unused action. 2025-07-15 21:39:17 -05:00
SergeantPanda
cd30f6da66 Enhance Logo management with filtering and usage details in API and UI 2025-07-15 20:26:02 -05:00
SergeantPanda
6afd5a38c9 Add timeouts to logo fetching to avoid hanging UI if a logo is unreachable. Also add default user-agent to request to prevent servers from denying request.
Fixes #217 and Fixes #101
2025-07-15 18:45:21 -05:00
SergeantPanda
cea078f6ef Use default user-agent and adjust timeouts. 2025-07-15 18:37:22 -05:00
SergeantPanda
489851906e Logo manager initial commit. 2025-07-15 18:19:10 -05:00
SergeantPanda
7292ad460f If previous channel had decimal don't continue with decimals. 2025-07-14 16:58:27 -05:00
SergeantPanda
e7eab09dfc Only update channels that changed. Don't delete and readd all. Otherwise UUIDS/links will break. 2025-07-14 16:42:26 -05:00
SergeantPanda
18d4c39291 Combined migrations. 2025-07-13 18:09:30 -05:00
SergeantPanda
12c086dcd1 Delete all auto-synced channels and create new ones. 2025-07-13 18:02:26 -05:00
SergeantPanda
b91a2286e4 Add auto-created tracking to Channel model and related serializers
- Introduced `auto_created` and `auto_created_by` fields in the Channel model to track channels created via M3U auto channel sync.
- Updated ChannelSerializer to include these new fields and added a method to retrieve the name of the M3U account that created the channel.
- Modified sync_auto_channels task to set these fields when creating channels and to filter existing channels accordingly.
2025-07-13 16:32:52 -05:00
SergeantPanda
ea81cfb1af Add auto channel sync settings to ChannelGroupM3UAccount and update related components
- Introduced `auto_channel_sync` and `auto_sync_channel_start` fields in the ChannelGroupM3UAccount model.
- Added API endpoint to update M3U group settings.
- Updated M3UGroupFilter component to manage auto sync settings.
- Enhanced M3URefreshNotification and M3U components for better user guidance.
- Created a Celery task for automatic channel synchronization after M3U refresh.
2025-07-13 15:59:25 -05:00
SergeantPanda
9b7aa0c894 Add ability to cleanup all unused groups. 2025-07-12 17:05:48 -05:00
SergeantPanda
adc6604fa2 Disable buttons that can't be used. 2025-07-12 16:57:05 -05:00
SergeantPanda
fcce1a36b2 Implement group management features: add GroupManager component. 2025-07-12 16:08:04 -05:00
SergeantPanda
34a3f75c1c Remove garbage collection from websocket update. 2025-07-11 16:23:34 -05:00
SergeantPanda
fafd93e958 Refactor XC Client usage to improve error handling and resource management with context management. Implement connection pooling for better performance. 2025-07-10 19:14:43 -05:00
SergeantPanda
d24520d3d8 Enhance EPG XML generation with additional metadata extraction and improved handling for keywords, languages, ratings, and credits. 2025-07-10 13:22:42 -05:00
SergeantPanda
9f8a2db500 Include channel ID in more logs. 2025-07-09 16:44:00 -05:00
SergeantPanda
2284d47f9f If provider is slow but responsive, don't get locked up. 2025-07-08 17:10:55 -05:00
SergeantPanda
d6605e7119 Add timeout for chunks. 2025-07-08 15:57:11 -05:00
SergeantPanda
01d4b25303 Health monitor thread no longer will no longer attempt to reconnect it will only notify the main thread of issues. 2025-07-03 14:10:03 -05:00
SergeantPanda
55e19f05aa Check if stopping before adding chunks during transcoding. 2025-07-03 11:18:03 -05:00
SergeantPanda
580aa1975c Add process management for safe connection handling in StreamManager
- Introduced _wait_for_existing_processes_to_close method to ensure all existing processes and connections are fully closed before establishing new ones.
- Updated _establish_transcode_connection and _establish_http_connection methods to check for and close lingering processes and connections.
- Enhanced logging for better debugging and monitoring of connection states.
2025-07-03 11:02:07 -05:00
SergeantPanda
8e2c6c7780 Check for any state to detmine if channel is running. 2025-07-01 10:57:07 -05:00
SergeantPanda
2b97a958cd Check if a transcode process is running also to determine if we should close sockets. 2025-07-01 10:27:24 -05:00
SergeantPanda
ac07a5217f Set last_login when successful login occurs. 2025-06-28 08:55:07 -05:00
SergeantPanda
1a8bbb6bb8 Reorder columns 2025-06-27 21:59:56 -05:00
SergeantPanda
1e91dd7597 Added all available fields. 2025-06-27 21:43:50 -05:00
SergeantPanda
f2a238915a Use streaming response during EPG generation to avoid clients timing out.
Closes #179
2025-06-27 14:54:47 -05:00
SergeantPanda
ba6012b28c Fixes bulk channel editor not saving.
Fixes #222
2025-06-26 13:15:00 -05:00
SergeantPanda
c04ca0a804 Add buffering as an active state. 2025-06-25 17:01:21 -05:00
SergeantPanda
7f1bdd0129 Add support for 'num' property in channel number extraction 2025-06-21 14:00:41 -05:00
SergeantPanda
03f39d7d48 Rename FFMPEG_BITRATE to FFMPEG_OUTPUT_BITRATE for clarity. 2025-06-18 17:10:08 -05:00
SergeantPanda
2e118a3f8d Smarter parsing for input vs output streams. 2025-06-18 16:59:12 -05:00
SergeantPanda
ae88141c36 Change matching pattern for detecting input vs output streams in FFmpeg. 2025-06-17 21:33:26 -05:00
SergeantPanda
573ed96e82 Bug fix - Wait until FFmpeg is closed before marking the connection as closed. May fix some stuck FFmpeg processes. 2025-06-17 17:27:41 -05:00
SergeantPanda
b6cde2fec8 Only update redis if stream switch was successful. 2025-06-17 16:21:10 -05:00
SergeantPanda
29a5e93cfd Don't count currently used profile in used connections. 2025-06-17 15:51:03 -05:00
SergeantPanda
d130de3c80 Check connections remaining before switching streams. 2025-06-17 13:59:22 -05:00
SergeantPanda
838a373bea Use correct m3u_profile_id when changing streams. 2025-06-17 13:11:03 -05:00
SergeantPanda
3448a3b494 Add buffering as an active state. 2025-06-17 12:30:20 -05:00
SergeantPanda
42747e743c Converted epg_channel_id to a string as well. 2025-06-16 18:05:04 -05:00