From 648930aa210965d872de68fba14cbac12b06031f Mon Sep 17 00:00:00 2001 From: Karol Labus Date: Thu, 17 Sep 2026 20:07:27 +0200 Subject: [PATCH] fix: remove RequiresOpening/RequiresClosing from PlaybackInfo rewrite to prevent LiveStream errors in Jellyfin 12 --- JellyfinPlugin/PlaybackInfoInterceptorStartupFilter.cs | 7 ------- 1 file changed, 7 deletions(-) diff --git a/JellyfinPlugin/PlaybackInfoInterceptorStartupFilter.cs b/JellyfinPlugin/PlaybackInfoInterceptorStartupFilter.cs index 96fe384..e4548ab 100644 --- a/JellyfinPlugin/PlaybackInfoInterceptorStartupFilter.cs +++ b/JellyfinPlugin/PlaybackInfoInterceptorStartupFilter.cs @@ -189,13 +189,6 @@ namespace JellyfinPlugin obj[trKey] = transcodingReasons + "," + customReason; } - // Dodatkowo obcinamy wsparcie dla Direct Stream w pod-strumieniach (Jellyfin czasami wymusza z poziomu klienta) - var reqKey = obj.FirstOrDefault(x => x.Key.Equals("RequiresOpening", StringComparison.OrdinalIgnoreCase)).Key ?? "RequiresOpening"; - obj[reqKey] = true; - - var reqCloseKey = obj.FirstOrDefault(x => x.Key.Equals("RequiresClosing", StringComparison.OrdinalIgnoreCase)).Key ?? "RequiresClosing"; - obj[reqCloseKey] = true; - modified = true; _logger.LogInformation($"[Black Bar Remover DEBUG] Modified PlaybackInfo JSON: forced {dpKey}/{dsKey} to false for MediaSource ID {obj.FirstOrDefault(x => x.Key.Equals("Id", StringComparison.OrdinalIgnoreCase)).Value}"); }