The Free Software Media System - Server Backend & API
Move StreamHelper to LiveTv project
Patrick Barron41de6d17411a
diff --git a/Emby.Server.Implementations/ApplicationHost.cs b/Emby.Server.Implementations/ApplicationHost.csindex 0b6f4178bc..48d5d8c6a9 100644--- a/Emby.Server.Implementations/ApplicationHost.cs+++ b/Emby.Server.Implementations/ApplicationHost.cs@@ -502,8 +502,6 @@ namespace Emby.Server.ImplementationsserviceCollection.AddSingleton(_xmlSerializer);- serviceCollection.AddSingleton<IStreamHelper, StreamHelper>();-serviceCollection.AddSingleton<ICryptoProvider, CryptographyProvider>();serviceCollection.AddSingleton<ISocketFactory, SocketFactory>();diff --git a/Jellyfin.Server/CoreAppHost.cs b/Jellyfin.Server/CoreAppHost.csindex fb01f6edb9..5192b9e21b 100644--- a/Jellyfin.Server/CoreAppHost.cs+++ b/Jellyfin.Server/CoreAppHost.cs@@ -29,6 +29,7 @@ using MediaBrowser.Controller.Net;using MediaBrowser.Controller.Security;using MediaBrowser.Controller.Trickplay;using MediaBrowser.Model.Activity;+using MediaBrowser.Model.IO;using MediaBrowser.Providers.Lyric;using Microsoft.Extensions.Configuration;using Microsoft.Extensions.DependencyInjection;@@ -103,6 +104,7 @@ namespace Jellyfin.ServerserviceCollection.AddSingleton<LiveTvDtoService>();serviceCollection.AddSingleton<ILiveTvManager, LiveTvManager>();serviceCollection.AddSingleton<IChannelManager, ChannelManager>();+ serviceCollection.AddSingleton<IStreamHelper, StreamHelper>();foreach (var type in GetExportTypes<ILyricProvider>()){diff --git a/Emby.Server.Implementations/IO/StreamHelper.cs b/src/Jellyfin.LiveTv/StreamHelper.cssimilarity index 99%rename from Emby.Server.Implementations/IO/StreamHelper.csrename to src/Jellyfin.LiveTv/StreamHelper.csindex 6eaf22ce48..ab4b6e9b15 100644--- a/Emby.Server.Implementations/IO/StreamHelper.cs+++ b/src/Jellyfin.LiveTv/StreamHelper.cs@@ -7,7 +7,7 @@ using System.Threading;using System.Threading.Tasks;using MediaBrowser.Model.IO;-namespace Emby.Server.Implementations.IO+namespace Jellyfin.LiveTv{public class StreamHelper : IStreamHelper{