|
|
@ -41,8 +41,6 @@ namespace Emby.Server.Implementations.Udp
|
|
|
|
_socketFactory = socketFactory;
|
|
|
|
_socketFactory = socketFactory;
|
|
|
|
|
|
|
|
|
|
|
|
AddMessageResponder("who is JellyfinServer?", true, RespondToV2Message);
|
|
|
|
AddMessageResponder("who is JellyfinServer?", true, RespondToV2Message);
|
|
|
|
AddMessageResponder("who is EmbyServer?", true, RespondToV2Message);
|
|
|
|
|
|
|
|
AddMessageResponder("who is MediaBrowserServer_v2?", false, RespondToV2Message);
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
private void AddMessageResponder(string message, bool isSubstring, Func<string, IpEndPointInfo, Encoding, CancellationToken, Task> responder)
|
|
|
|
private void AddMessageResponder(string message, bool isSubstring, Func<string, IpEndPointInfo, Encoding, CancellationToken, Task> responder)
|
|
|
|