diff --git a/Jellyfin.Plugin.Seasonals/ScriptInjector.cs b/Jellyfin.Plugin.Seasonals/ScriptInjector.cs index f9f73a3..c0e02f7 100644 --- a/Jellyfin.Plugin.Seasonals/ScriptInjector.cs +++ b/Jellyfin.Plugin.Seasonals/ScriptInjector.cs @@ -129,7 +129,7 @@ public class ScriptInjector // MARK: Legacy Tags, remove in future versions // Remove legacy tags bool modified = false; - content = RemoveLegacyTags(content); + content = RemoveLegacyTags(content, ref modified); if (modified) { _logger.LogInformation("Removed legacy tags from index.html."); @@ -230,7 +230,7 @@ public class ScriptInjector // MARK: Legacy Tags, remove in future versions /// - /// Removes legacy script and css tags from the content. + /// Removes legacy script tags from the content. /// private string RemoveLegacyTags(string content, ref bool modified) { @@ -241,7 +241,6 @@ public class ScriptInjector { content = content.Replace(LegacyScriptTag + Environment.NewLine, "").Replace(LegacyScriptTag, ""); modified = true; - _logger.LogInformation("Legacy Seasonals script tag removed."); } return content; }