using System;
using System.IO;
using MediaBrowser.Common.Configuration;
using Microsoft.Extensions.Logging;
namespace Jellyfin.Plugin.JellyLMS.Services;
///
/// Injects (or removes) a script tag in the web client's index.html
/// that adds a floating button linking to the JellyLMS remote control page.
/// This follows the pattern used by other Jellyfin plugins (e.g. Intro Skipper)
/// since there is no official plugin hook for adding buttons to the web client.
///
public static class WebClientPatchService
{
private const string Marker = "";
private const string ScriptTag = "";
private const string Injected = ScriptTag + Marker + "\n