Commit Graph
58 Commits
Author SHA1 Message Date
euzuandGitHub 3be0fa347f MetadatResolve hardening rerties after errors (#611)
* MetadatResolve hardening rerties after errors
2026-02-25 19:30:19 +01:00
euzuandGitHub 16fcd7f882 Optimizations
* New Features

Added series information display with episodes, cast, and metadata in playlist explorer
Introduced multi-cluster playlist endpoints (live, VOD, series) for flexible content retrieval
Added series info lookup and filtering capabilities
Implemented sidebar navigation for source editor with dedicated pages (Main, Options, Staged, Advanced, Alias)
Added filter state controls (All, Selected, Deselected) for playlist category management
Enabled Trakt configuration toggle to control integration
Performance Improvements

Optimized B+Tree indexing for faster queries
Reduced startup latency with disk-based operations and optional memory caching
Improved string memory handling through efficient reference-counted strings
UI Enhancements

Enhanced playlist explorer with series details and episode grouping by season
Added new UI icons (Options, Advanced, Staging, Alias, Trakt)
Improved form layouts with toolbar controls
Enhanced radio button group styling for better visual hierarchy

* New Features

Added series information display with episodes, cast, and metadata in playlist explorer
Introduced multi-cluster playlist endpoints (live, VOD, series) for flexible content retrieval
Added series info lookup and filtering capabilities
Implemented sidebar navigation for source editor with dedicated pages (Main, Options, Staged, Advanced, Alias)
Added filter state controls (All, Selected, Deselected) for playlist category management
Enabled Trakt configuration toggle to control integration
Performance Improvements

Optimized B+Tree indexing for faster queries
Reduced startup latency with disk-based operations and optional memory caching
Improved string memory handling through efficient reference-counted strings
UI Enhancements

Enhanced playlist explorer with series details and episode grouping by season
Added new UI icons (Options, Advanced, Staging, Alias, Trakt)
Improved form layouts with toolbar controls
Enhanced radio button group styling for better visual hierarchy

* New Features

Added series information display with episodes, cast, and metadata in playlist explorer
Introduced multi-cluster playlist endpoints (live, VOD, series) for flexible content retrieval
Added series info lookup and filtering capabilities
Implemented sidebar navigation for source editor with dedicated pages (Main, Options, Staged, Advanced, Alias)
Added filter state controls (All, Selected, Deselected) for playlist category management
Enabled Trakt configuration toggle to control integration
Performance Improvements

Optimized B+Tree indexing for faster queries
Reduced startup latency with disk-based operations and optional memory caching
Improved string memory handling through efficient reference-counted strings
UI Enhancements

Enhanced playlist explorer with series details and episode grouping by season
Added new UI icons (Options, Advanced, Staging, Alias, Trakt)
Improved form layouts with toolbar controls
Enhanced radio button group styling for better visual hierarchy

* New Features

Added series information display with episodes, cast, and metadata in playlist explorer
Introduced multi-cluster playlist endpoints (live, VOD, series) for flexible content retrieval
Added series info lookup and filtering capabilities
Implemented sidebar navigation for source editor with dedicated pages (Main, Options, Staged, Advanced, Alias)
Added filter state controls (All, Selected, Deselected) for playlist category management
Enabled Trakt configuration toggle to control integration
Performance Improvements

Optimized B+Tree indexing for faster queries
Reduced startup latency with disk-based operations and optional memory caching
Improved string memory handling through efficient reference-counted strings
UI Enhancements

Enhanced playlist explorer with series details and episode grouping by season
Added new UI icons (Options, Advanced, Staging, Alias, Trakt)
Improved form layouts with toolbar controls
Enhanced radio button group styling for better visual hierarchy
2026-01-20 10:09:58 +01:00
euzu 8cc9283a31 Playlist Update Optimization: Reduced Memory Usage
An optimization has been introduced to reduce memory consumption during playlist updates.

Overview
Previously, provider playlists were fully loaded into memory during the update process. For large playlists (e.g. hundreds of thousands of entries or multiple providers), this could result in significant RAM usage.
With the new implementation, it is now possible to optionally read provider playlists directly from disk instead of keeping them entirely in memory.

How It Works
 - users can configure whether:
     - Provider playlists are loaded into memory (previous behavior), or
     - Provider playlists are streamed to/from disk to minimize RAM usage.

Processing remains sequential and batch-based, ensuring identical functional behavior.
This approach significantly lowers peak memory usage, especially on systems with limited resources.

Benefits

- Reduced peak RAM consumption during playlist updates
- Better scalability for large playlists and multiple providers
- Full backward compatibility

Trade-offs / Drawbacks

 - Increased processing time due to reduced in-memory caching
 - Higher disk I/O usage, especially for large or fragmented playlists
 - Performance depends more strongly on disk speed (Nvme SSD, HDD)
 - Slightly increased CPU overhead due to repeated parsing and deserialization
 - Not optimal for environments where fast updates are more important than memory usage

Recommendation

 - Use in-memory mode for systems with sufficient RAM and a focus on update speed
 - Use disk-based mode for large playlists, multiple providers, or memory-constrained environments
2026-01-08 15:11:12 +01:00
euzu 23d6c90c1d Local media library 2025-12-15 21:10:45 +01:00
euzu 2f32f1ece1 Local media library 2025-12-15 17:54:19 +01:00
euzu 22e6f74bae replaced serde_json Value with RawValue to reduce memory usage 2025-12-13 15:33:04 +01:00
euzu 4281cbc90d kick debug log added 2025-12-13 11:32:55 +01:00
euzu 66f57a780d Added kick duration for web_ui kick 2025-12-12 21:25:18 +01:00
euzu efc23c2b21 Added kick duration for web_ui kick 2025-12-12 21:16:52 +01:00
euzu e6db1a3c66 Added kick duration for web_ui kick 2025-12-12 20:32:46 +01:00
euzu d2779a3e30 Some fixes for async handling 2025-11-20 13:00:01 +01:00
euzu b7ccea7fe9 Merge remote-tracking branch 'dark-breakpoint/feature/session-connection-token' into feature/connection_logging_and_non_order 2025-11-20 10:49:21 +01:00
euzu 00df136c64 Merge remote-tracking branch 'dark-breakpoint/feature/session-connection-token' into feature/connection_logging_and_non_order 2025-11-20 08:50:10 +01:00
euzu 5db883caf2 Merge remote-tracking branch 'dark-breakpoint/feature/session-connection-token' into feature/connection_logging_and_non_order 2025-11-20 08:50:05 +01:00
euzu b4260a8e8b Merge remote-tracking branch 'dark-breakpoint/feature/improved-connection-logging' into feature/connection_logging 2025-11-20 08:22:11 +01:00
DarkBreakpoint 7d3c2fd8be Improve session tracking 2025-11-19 23:00:25 -06:00
DarkBreakpoint 44b8610692 Add diagnostics when a single user accumulates many connections so runaway clients are easy to spot. 2025-11-19 10:00:32 -06:00
euzu 17e85fcfa4 - Added detailed shared-stream/buffer/provider logging to trace lag, cache persistence, and session/provider lifecycle events.
- Connection registration failures now trigger an explicit disconnect so zombie sockets don’t linger.
- Shared stream shutdown now drops registry locks before releasing provider handles to prevent cross-lock stalls.
2025-11-18 21:52:09 +01:00
euzu 49f180123b More log output 2025-11-18 21:01:42 +01:00
DarkBreakpoint e81f839853 Add shared streaming diagnostics 2025-11-17 08:57:29 -06:00
euzu b69ed4921e better connection handling 2025-11-10 01:04:13 +01:00
euzu 36f9717891 fixed some coderabit / clippy warnings 2025-11-06 12:50:10 +01:00
euzu 838148610a Fixed catchup starting cycle through multiple provider 2025-11-06 12:29:21 +01:00
euzu 3c68287cd8 WebUI
- Aded kick command for streams table
- Added better stream type description for streams table
- Added clipboard not supported message
- Added Copy Credentials menu for user table
- Added random credentials generation for user creation
- Input table header column now with preview and reveal.
2025-11-06 10:36:23 +01:00
euzu e6c4480153 Fixed a connection count issue on ffwd and reverse for vod 2025-11-05 18:22:05 +01:00
euzu cb1692b9f6 some clippy fixes 2025-11-05 12:07:02 +01:00
euzu 961d27a668 Connection handling fixed for user sessions 2025-11-05 11:50:05 +01:00
euzu c47c170df7 Completly refactored connection management 2025-11-04 23:32:17 +01:00
euzu 6b09f30a51 Completly refactored connection management 2025-11-04 23:22:37 +01:00
euzu 3d95184e15 Completly refactored connection management 2025-11-04 22:56:27 +01:00
euzu 15a252664e Completly refactored connection management 2025-11-04 21:46:44 +01:00
euzu 95dde2876d First step provider and user connections.
-> Missing shared streams connections
2025-11-04 18:01:44 +01:00
euzu 796982c2b4 fixed clippy warnings 2025-11-01 02:05:21 +01:00
euzu 42b0326949 Connection guard release fallback implemented 2025-11-01 01:47:47 +01:00
euzu 6dbe77ad23 some connection guard fixes 2025-11-01 00:26:30 +01:00
euzu d71e8080f5 stream table ip fixed 2025-10-30 13:00:25 +01:00
euzu 57b9499d6c batch alias id fixed 2025-10-29 16:40:17 +01:00
euzu 4d99ae4325 Mixed up ip address behind reverse proxy during shared stream registration fixed 2025-10-29 15:29:05 +01:00
euzu 3c3c8df763 Added GeoIp config and update button to WebUI
Integrated GeoIp to stream Table
Fixed some HdHomerun issues
2025-10-28 18:42:09 +01:00
euzu 3ba4a5aaf6 hdhomerun fixes 2025-10-28 13:55:37 +01:00
euzu 364e3d69df task optimizations for connection release 2025-10-27 13:58:55 +01:00
euzu 93d60a210f Stream table new colmuns 2025-10-27 08:27:35 +01:00
euzu 7c7c467f64 Stream table new columns 2025-10-25 20:40:58 +02:00
euzu 60c2e5a161 User Stream Connection table added 2025-10-24 18:37:14 +02:00
euzu 50a25582b0 fix for hls streaming 2025-10-11 17:07:39 +02:00
euzu 7b0d3d09ea fix for hls streaming 2025-10-11 16:28:07 +02:00
euzu 04c7e8549b shared stream fixes 2025-07-27 20:47:35 +02:00
euzu 78e138e5d8 some clippy fixes 2025-07-24 14:27:57 +02:00
euzu 20b7c557e9 bundled event handling in event manager 2025-07-22 17:37:56 +02:00
euzu 504b4df277 Fix shared stream provider connections
Web UI State update through websocket
2025-07-21 22:17:57 +02:00