Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/jellyfin/blame/commit/d0f58ac0bfb99bd0759c3338292d0c2014067f42/RSSDP/IUPnPDeviceValidator.cs
You should set ROOT_URL correctly, otherwise the web may not work correctly.
|
|
|
|
using System;
|
|
|
|
|
|
|
|
|
|
namespace Rssdp.Infrastructure
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Interface for components that check an <see cref="SsdpDevice"/> object's properties meet the UPnP specification for a particular version.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public interface IUpnpDeviceValidator
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Returns an enumerable set of strings, each one being a description of an invalid property on the specified root device.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="device">The <see cref="SsdpRootDevice"/> to validate.</param>
|
|
|
|
|
System.Collections.Generic.IEnumerable<string> GetValidationErrors(SsdpRootDevice device);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Returns an enumerable set of strings, each one being a description of an invalid property on the specified device.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="device">The <see cref="SsdpDevice"/> to validate.</param>
|
|
|
|
|
System.Collections.Generic.IEnumerable<string> GetValidationErrors(SsdpDevice device);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Validates the specified device and throws an <see cref="System.InvalidOperationException"/> if there are any validation errors.
|
|
|
|
|
/// </summary>
|
|
|
|
|
void ThrowIfDeviceInvalid(SsdpDevice device);
|
|
|
|
|
}
|
|
|
|
|
}
|