From ce922d1b79a4acf4ae7a9b4cd78c31c9ecbedb40 Mon Sep 17 00:00:00 2001 From: rlauuzo <46294892+rlauuzo@users.noreply.github.com> Date: Mon, 28 Oct 2024 16:18:06 +0100 Subject: [PATCH] there is no modded 10.10 web interface --- IntroSkipper/Plugin.cs | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/IntroSkipper/Plugin.cs b/IntroSkipper/Plugin.cs index 95e1a23..35de422 100644 --- a/IntroSkipper/Plugin.cs +++ b/IntroSkipper/Plugin.cs @@ -536,21 +536,6 @@ public class Plugin : BasePlugin, IHasWebPages } } - // search for controllers/playback/video/index.html - searchPattern = "playback-video-index-html.*.chunk.js"; - filePaths = Directory.GetFiles(webPath, searchPattern, SearchOption.TopDirectoryOnly); - - // should be only one file but this safer - foreach (var file in filePaths) - { - // search for class btnSkipIntro - if (File.ReadAllText(file).Contains("btnSkipIntro", StringComparison.OrdinalIgnoreCase)) - { - _logger.LogInformation("Found a modified version of jellyfin-web with built-in skip button support."); - return; - } - } - // Inject the skip intro button code into the web interface. string indexPath = Path.Join(webPath, "index.html");