using System;
using System.IO;
using MediaBrowser.Common.Configuration;
using Microsoft.Extensions.Logging;
namespace Jellyfin.Plugin.JRay.Services;
///
/// Injects (or removes) a script tag in the web client's index.html
/// that loads JRay's pause-overlay script. This follows the pattern used by
/// other Jellyfin plugins (e.g. Intro Skipper) since there is no official
/// plugin hook for player-overlay UI.
///
public static class WebClientPatchService
{
private const string Marker = "";
private const string ScriptTag = "";
private const string Injected = ScriptTag + Marker + "\n