add dlna classes
This commit is contained in:
parent
77699c5bf7
commit
48ba276d83
11
MediaBrowser.Model/Dlna/IDeviceDiscovery.cs
Normal file
11
MediaBrowser.Model/Dlna/IDeviceDiscovery.cs
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
using System;
|
||||||
|
using MediaBrowser.Model.Events;
|
||||||
|
|
||||||
|
namespace MediaBrowser.Model.Dlna
|
||||||
|
{
|
||||||
|
public interface IDeviceDiscovery
|
||||||
|
{
|
||||||
|
event EventHandler<GenericEventArgs<UpnpDeviceInfo>> DeviceDiscovered;
|
||||||
|
event EventHandler<GenericEventArgs<UpnpDeviceInfo>> DeviceLeft;
|
||||||
|
}
|
||||||
|
}
|
14
MediaBrowser.Model/Dlna/UpnpDeviceInfo.cs
Normal file
14
MediaBrowser.Model/Dlna/UpnpDeviceInfo.cs
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using MediaBrowser.Model.Net;
|
||||||
|
|
||||||
|
namespace MediaBrowser.Model.Dlna
|
||||||
|
{
|
||||||
|
public class UpnpDeviceInfo
|
||||||
|
{
|
||||||
|
public Uri Location { get; set; }
|
||||||
|
public Dictionary<string, string> Headers { get; set; }
|
||||||
|
public IpAddressInfo LocalIpAddress { get; set; }
|
||||||
|
public int LocalPort { get; set; }
|
||||||
|
}
|
||||||
|
}
|
|
@ -112,6 +112,7 @@
|
||||||
<Compile Include="Dlna\DirectPlayProfile.cs" />
|
<Compile Include="Dlna\DirectPlayProfile.cs" />
|
||||||
<Compile Include="Dlna\EncodingContext.cs" />
|
<Compile Include="Dlna\EncodingContext.cs" />
|
||||||
<Compile Include="Dlna\HttpHeaderInfo.cs" />
|
<Compile Include="Dlna\HttpHeaderInfo.cs" />
|
||||||
|
<Compile Include="Dlna\IDeviceDiscovery.cs" />
|
||||||
<Compile Include="Dlna\ITranscoderSupport.cs" />
|
<Compile Include="Dlna\ITranscoderSupport.cs" />
|
||||||
<Compile Include="Dlna\ProfileCondition.cs" />
|
<Compile Include="Dlna\ProfileCondition.cs" />
|
||||||
<Compile Include="Dlna\ResponseProfile.cs" />
|
<Compile Include="Dlna\ResponseProfile.cs" />
|
||||||
|
@ -125,6 +126,7 @@
|
||||||
<Compile Include="Dlna\SubtitleProfile.cs" />
|
<Compile Include="Dlna\SubtitleProfile.cs" />
|
||||||
<Compile Include="Dlna\SubtitleStreamInfo.cs" />
|
<Compile Include="Dlna\SubtitleStreamInfo.cs" />
|
||||||
<Compile Include="Dlna\TranscodingProfile.cs" />
|
<Compile Include="Dlna\TranscodingProfile.cs" />
|
||||||
|
<Compile Include="Dlna\UpnpDeviceInfo.cs" />
|
||||||
<Compile Include="Dlna\XmlAttribute.cs" />
|
<Compile Include="Dlna\XmlAttribute.cs" />
|
||||||
<Compile Include="Drawing\ImageOrientation.cs" />
|
<Compile Include="Drawing\ImageOrientation.cs" />
|
||||||
<Compile Include="Dto\IHasServerId.cs" />
|
<Compile Include="Dto\IHasServerId.cs" />
|
||||||
|
|
Loading…
Reference in New Issue
Block a user