Commit Graph
103 Commits
Author SHA1 Message Date
euzuandGitHub 7dbd94792d Fixed hls streaming from local files (#530)
Fixed hls streaming from local files
2026-01-21 17:00:13 +01:00
euzuandGitHub cc2e50549d Feature/panel api update (#524)
Panel Api update
2026-01-20 18:51:46 +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 6f776782f1 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:54:12 +01:00
euzu e5e94a5f28 Fix stream session poisoning and correct headers handling 2026-01-04 10:54:41 +01:00
euzu f571e6781b Fix stream headers 2026-01-04 09:55:50 +01:00
euzu 5c96de7fb3 Stream throttling log added 2026-01-02 13:55:19 +01:00
euzu 458b6741a6 refactoring for favourites
- implemented favourites config to target config
- added add_favourite() function to mapping
2025-12-29 16:43:33 +01:00
euzu cf0c928730 stream properties refactored 2025-12-27 09:52:28 +01:00
euzu d5207e886f stream properties refactored 2025-12-26 14:09:44 +01:00
euzu 5e246aefab some refactoring for panel api config 2025-12-20 15:15:36 +01:00
euzu 2950292a6a panel api 2025-12-19 21:13:12 +01:00
euzu d33bdb6238 panel api 2025-12-19 20:54:30 +01:00
euzu 7b8f3615ae Merge commit '756177774fc141e8b503ec5520853b923d1d5f6f' into feature/panel_api 2025-12-19 20:24:06 +01:00
euzu c7ff1bb897 panel api 2025-12-19 18:30:17 +01:00
euzu 53723d3015 Merge commit '7bb8a0c4f1a65a542bd3fae716fcb4236461072a' into feature/provider_api 2025-12-19 18:30:07 +01:00
euzu a2effbeb3f integrated local series into playlist 2025-12-19 16:00:02 +01:00
euzu aa4463b632 fetching tmdb data for series 2025-12-19 15:57:46 +01:00
knylbyte d901cda260 feat: implemented allocation IDs to prevent addr-based release races, moved provider grace to a non-blocking post-start check, and made shared stream subscription updates atomic 2025-12-18 22:07:14 +01:00
knylbyte b9583819a5 feat: enhenced logging to understand, why provider con exhaust is sometime false positive 2025-12-18 17:49:54 +01:00
euzu 475201d640 fetching tmdb data for series 2025-12-18 16:51:09 +01:00
euzu 0506e8f201 fetching tmdb data for series 2025-12-18 16:15:38 +01:00
knylbyte 756177774f feat: wait until connection expire 2025-12-18 11:07:30 +01:00
knylbyte 0ccbd86e30 feat: enhenced session logging -> print user from pool 2025-12-17 21:13:56 +01:00
knylbyte 7bb8a0c4f1 fix: cargo clippy 2025-12-17 19:38:23 +01:00
knylbyte 7b2dd5be14 feat: added support for panel api 2025-12-16 23:03:24 +01:00
euzu 8b93d29f8d Integrate local movie file into playlist 2025-12-16 20:46:09 +01:00
euzu c8d34e0dfd Integrate local movie file into playlist 2025-12-16 20:35:19 +01:00
euzu a571f863bb Integrate local movie file into playlist 2025-12-16 19:59:53 +01:00
euzu 37985c0324 Integrate local movie file into playlist 2025-12-16 16:43:11 +01:00
euzu 22e6f74bae replaced serde_json Value with RawValue to reduce memory usage 2025-12-13 15:33:04 +01:00
euzu 60e74f38a9 force reconnect removed 2025-12-13 13:55:35 +01:00
euzu b951794bc4 Added kick duration for web_ui kick 2025-12-12 20:58:55 +01:00
euzu ee0441877d xtream and m3u parsing with streaming 2025-12-12 15:33:41 +01:00
euzu 1193fc2265 write operations optimized for less memory usage 2025-12-11 19:27:56 +01:00
euzu c2652a7ece Made cache storage more robust 2025-12-10 17:19:57 +01:00
euzu d39855c583 When shared stream enabled, provider connections exhausted custom stream was not displayed 2025-12-03 11:47:36 +01:00
euzu f3c8383a44 Fixed race conditions on user access 2025-11-30 11:52:58 +01:00
euzu bdb838e2b0 - CPU usage
- disable cloudfare header
2025-11-29 19:01:42 +01:00
euzu 6c021fbe2b Refactored connection handling to avoid race conditions 2025-11-26 13:44:11 +01:00
euzu 1fa967d8a2 Refactored connection handling to avoid race conditions 2025-11-26 09:56:09 +01:00
euzu 020f52c5d2 fixed some async file operations 2025-11-20 14:22:26 +01:00
euzu d2779a3e30 Some fixes for async handling 2025-11-20 13:00:01 +01:00
DarkBreakpoint 7d3c2fd8be Improve session tracking 2025-11-19 23:00:25 -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
DarkBreakpoint e681da0733 Persist cache pipe via tokio::fs to avoid blocking the runtime 2025-11-14 11:00:01 -06:00
euzu eba6b7df96 Changes to the PR resource retry config by DarkBreakpoint 2025-11-11 10:00:35 +01:00
DarkBreakpoint 84429af955 feat: make reverse-proxy retries configurable 2025-11-10 20:06:52 -06:00