mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 19:37:55 +02:00
Merge branch 'dev' of https://github.com/MediaBrowser/Emby into dev
This commit is contained in:
commit
675e4a1bf2
1 changed files with 5 additions and 5 deletions
|
@ -109,11 +109,6 @@ namespace MediaBrowser.Server.Implementations.Udp
|
||||||
{
|
{
|
||||||
var parts = messageText.Split('|');
|
var parts = messageText.Split('|');
|
||||||
|
|
||||||
if (parts.Length > 1)
|
|
||||||
{
|
|
||||||
_appHost.EnableLoopback(parts[1]);
|
|
||||||
}
|
|
||||||
|
|
||||||
var localUrl = await _appHost.GetLocalApiUrl().ConfigureAwait(false);
|
var localUrl = await _appHost.GetLocalApiUrl().ConfigureAwait(false);
|
||||||
|
|
||||||
if (!string.IsNullOrEmpty(localUrl))
|
if (!string.IsNullOrEmpty(localUrl))
|
||||||
|
@ -126,6 +121,11 @@ namespace MediaBrowser.Server.Implementations.Udp
|
||||||
};
|
};
|
||||||
|
|
||||||
await SendAsync(encoding.GetBytes(_json.SerializeToString(response)), endpoint).ConfigureAwait(false);
|
await SendAsync(encoding.GetBytes(_json.SerializeToString(response)), endpoint).ConfigureAwait(false);
|
||||||
|
|
||||||
|
if (parts.Length > 1)
|
||||||
|
{
|
||||||
|
_appHost.EnableLoopback(parts[1]);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue