mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-05 07:18:47 +01:00
update rssdp
This commit is contained in:
@@ -743,6 +743,14 @@ namespace Rssdp
|
||||
|
||||
private static void AddCustomProperty(XmlReader reader, SsdpDevice device)
|
||||
{
|
||||
// If the property is an empty element, there is no value to read
|
||||
// Advance the reader and return
|
||||
if (reader.IsEmptyElement)
|
||||
{
|
||||
reader.Read();
|
||||
return;
|
||||
}
|
||||
|
||||
var newProp = new SsdpDeviceProperty() { Namespace = reader.Prefix, Name = reader.LocalName };
|
||||
int depth = reader.Depth;
|
||||
reader.Read();
|
||||
|
||||
Reference in New Issue
Block a user