From f1ca1dd7cc14e59938a73a34c2561856d706312b Mon Sep 17 00:00:00 2001 From: Patrick Barron Date: Thu, 30 Nov 2023 11:36:16 -0500 Subject: [PATCH] Move UdpServerEntryPoint to Jellyfin.Networking --- .../Jellyfin.Networking}/Udp/UdpServer.cs | 2 +- .../Jellyfin.Networking}/UdpServerEntryPoint.cs | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) rename {Emby.Server.Implementations => src/Jellyfin.Networking}/Udp/UdpServer.cs (99%) rename {Emby.Server.Implementations/EntryPoints => src/Jellyfin.Networking}/UdpServerEntryPoint.cs (97%) diff --git a/Emby.Server.Implementations/Udp/UdpServer.cs b/src/Jellyfin.Networking/Udp/UdpServer.cs similarity index 99% rename from Emby.Server.Implementations/Udp/UdpServer.cs rename to src/Jellyfin.Networking/Udp/UdpServer.cs index 2d806c146b..978eb7853e 100644 --- a/Emby.Server.Implementations/Udp/UdpServer.cs +++ b/src/Jellyfin.Networking/Udp/UdpServer.cs @@ -11,7 +11,7 @@ using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Logging; using static MediaBrowser.Controller.Extensions.ConfigurationExtensions; -namespace Emby.Server.Implementations.Udp +namespace Jellyfin.Networking.Udp { /// /// Provides a Udp Server. diff --git a/Emby.Server.Implementations/EntryPoints/UdpServerEntryPoint.cs b/src/Jellyfin.Networking/UdpServerEntryPoint.cs similarity index 97% rename from Emby.Server.Implementations/EntryPoints/UdpServerEntryPoint.cs rename to src/Jellyfin.Networking/UdpServerEntryPoint.cs index 2af2677855..ced5a5ce18 100644 --- a/Emby.Server.Implementations/EntryPoints/UdpServerEntryPoint.cs +++ b/src/Jellyfin.Networking/UdpServerEntryPoint.cs @@ -5,8 +5,7 @@ using System.Net; using System.Net.Sockets; using System.Threading; using System.Threading.Tasks; -using Emby.Server.Implementations.Udp; -using MediaBrowser.Common.Configuration; +using Jellyfin.Networking.Udp; using MediaBrowser.Common.Net; using MediaBrowser.Controller; using MediaBrowser.Controller.Plugins; @@ -14,7 +13,7 @@ using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Logging; using IConfigurationManager = MediaBrowser.Common.Configuration.IConfigurationManager; -namespace Emby.Server.Implementations.EntryPoints +namespace Jellyfin.Networking { /// /// Class responsible for registering all UDP broadcast endpoints and their handlers.