From 8f4dfa31c89f152c4c55b69435067820c4ee8017 Mon Sep 17 00:00:00 2001 From: CodeDevMLH <145071728+CodeDevMLH@users.noreply.github.com> Date: Wed, 11 Mar 2026 00:27:21 +0100 Subject: [PATCH] Remove fallback logic for resource stream retrieval in MediaBarEnhancedController --- .../Api/MediaBarEnhancedController.cs | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/Jellyfin.Plugin.MediaBarEnhanced/Api/MediaBarEnhancedController.cs b/Jellyfin.Plugin.MediaBarEnhanced/Api/MediaBarEnhancedController.cs index b8b9343..cb7007c 100644 --- a/Jellyfin.Plugin.MediaBarEnhanced/Api/MediaBarEnhancedController.cs +++ b/Jellyfin.Plugin.MediaBarEnhanced/Api/MediaBarEnhancedController.cs @@ -44,18 +44,6 @@ namespace Jellyfin.Plugin.MediaBarEnhanced.Api var stream = assembly.GetManifestResourceStream(resourceName); - // if (stream == null) - // { - // // Try fallback/debug matching - // var allNames = assembly.GetManifestResourceNames(); - // var match = Array.Find(allNames, n => n.EndsWith(resourcePath, StringComparison.OrdinalIgnoreCase)); - - // if (match != null) - // { - // stream = assembly.GetManifestResourceStream(match); - // } - // } - if (stream == null) { return NotFound($"Resource not found: {resourceName}");