using Jellyfin.Plugin.JFVR.Services; using MediaBrowser.Controller; using MediaBrowser.Controller.Plugins; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.DependencyInjection; namespace Jellyfin.Plugin.JFVR; /// /// Registers the plugin's services with the Jellyfin host container. /// public class PluginServiceRegistrator : IPluginServiceRegistrator { /// public void RegisterServices(IServiceCollection serviceCollection, IServerApplicationHost applicationHost) { serviceCollection.AddSingleton(); // The request-time injection path: rewrites jellyfin-web's index.html on // the way out. Nothing is written to disk. serviceCollection.AddSingleton(); } }