Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/jellyfin/src/commit/07c43a1cd3979e67ac3547f3a76a7daab5cd4bc7/Emby.Dlna/Server/UpnpDevice.cs You should set ROOT_URL correctly, otherwise the web may not work correctly.
jellyfin/Emby.Dlna/Server/UpnpDevice.cs

39 lines
962 B

using System;
using System.Net;
using MediaBrowser.Model.Net;
namespace Emby.Dlna.Server
{
public sealed class UpnpDevice
{
public readonly Uri Descriptor;
public readonly string Type;
public readonly string USN;
public readonly string Uuid;
public readonly IpAddressInfo Address;
public UpnpDevice(string aUuid, string aType, Uri aDescriptor, IpAddressInfo address)
{
Uuid = aUuid;
Type = aType;
Descriptor = aDescriptor;
Address = address;
USN = CreateUSN(aUuid, aType);
}
private static string CreateUSN(string aUuid, string aType)
{
if (aType.StartsWith("uuid:", StringComparison.OrdinalIgnoreCase))
{
return aType;
}
else
{
return String.Format("uuid:{0}::{1}", aUuid, aType);
}
}
}
}