aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Dlna
diff options
context:
space:
mode:
Diffstat (limited to 'MediaBrowser.Controller/Dlna')
-rw-r--r--MediaBrowser.Controller/Dlna/DeviceIdentification.cs15
-rw-r--r--MediaBrowser.Controller/Dlna/DeviceProfile.cs22
-rw-r--r--MediaBrowser.Controller/Dlna/DirectPlayProfile.cs1
-rw-r--r--MediaBrowser.Controller/Dlna/TranscodingProfile.cs23
4 files changed, 60 insertions, 1 deletions
diff --git a/MediaBrowser.Controller/Dlna/DeviceIdentification.cs b/MediaBrowser.Controller/Dlna/DeviceIdentification.cs
index a3a6155160..4ccba11063 100644
--- a/MediaBrowser.Controller/Dlna/DeviceIdentification.cs
+++ b/MediaBrowser.Controller/Dlna/DeviceIdentification.cs
@@ -25,6 +25,21 @@ namespace MediaBrowser.Controller.Dlna
/// <value>The name of the model.</value>
public string ModelName { get; set; }
/// <summary>
+ /// Gets or sets the model description.
+ /// </summary>
+ /// <value>The model description.</value>
+ public string ModelDescription { get; set; }
+ /// <summary>
+ /// Gets or sets the device description.
+ /// </summary>
+ /// <value>The device description.</value>
+ public string DeviceDescription { get; set; }
+ /// <summary>
+ /// Gets or sets the model URL.
+ /// </summary>
+ /// <value>The model URL.</value>
+ public string ModelUrl { get; set; }
+ /// <summary>
/// Gets or sets the manufacturer.
/// </summary>
/// <value>
diff --git a/MediaBrowser.Controller/Dlna/DeviceProfile.cs b/MediaBrowser.Controller/Dlna/DeviceProfile.cs
index 119cfffd74..ca5929d135 100644
--- a/MediaBrowser.Controller/Dlna/DeviceProfile.cs
+++ b/MediaBrowser.Controller/Dlna/DeviceProfile.cs
@@ -33,6 +33,28 @@ namespace MediaBrowser.Controller.Dlna
/// <value>The identification.</value>
public DeviceIdentification Identification { get; set; }
+ public string FriendlyName { get; set; }
+ public string Manufacturer { get; set; }
+ public string ManufacturerUrl { get; set; }
+ public string ModelName { get; set; }
+ public string ModelDescription { get; set; }
+ public string ModelNumber { get; set; }
+ public string ModelUrl { get; set; }
+ /// <summary>
+ /// Controls the content of the X_DLNADOC element in the urn:schemas-dlna-org:device-1-0 namespace.
+ /// </summary>
+ public string XDlnaDoc { get; set; }
+ /// <summary>
+ /// Controls the content of the X_DLNACAP element in the urn:schemas-dlna-org:device-1-0 namespace.
+ /// </summary>
+ public string XDlnaCap { get; set; }
+ /// <summary>
+ /// Controls the content of the aggregationFlags element in the urn:schemas-sonycom:av.
+ /// </summary>
+ public string SonyAggregationFlags { get; set; }
+
+ public string ProtocolInfo { get; set; }
+
public DeviceProfile()
{
DirectPlayProfiles = new DirectPlayProfile[] { };
diff --git a/MediaBrowser.Controller/Dlna/DirectPlayProfile.cs b/MediaBrowser.Controller/Dlna/DirectPlayProfile.cs
index 8c35b52a81..68e25e2f7b 100644
--- a/MediaBrowser.Controller/Dlna/DirectPlayProfile.cs
+++ b/MediaBrowser.Controller/Dlna/DirectPlayProfile.cs
@@ -53,6 +53,7 @@ namespace MediaBrowser.Controller.Dlna
}
}
+ public string OrgPn { get; set; }
public string MimeType { get; set; }
public DlnaProfileType Type { get; set; }
diff --git a/MediaBrowser.Controller/Dlna/TranscodingProfile.cs b/MediaBrowser.Controller/Dlna/TranscodingProfile.cs
index abc8868fb9..3b0a513d13 100644
--- a/MediaBrowser.Controller/Dlna/TranscodingProfile.cs
+++ b/MediaBrowser.Controller/Dlna/TranscodingProfile.cs
@@ -1,4 +1,5 @@
-
+using System.Collections.Generic;
+
namespace MediaBrowser.Controller.Dlna
{
public class TranscodingProfile
@@ -9,8 +10,28 @@ namespace MediaBrowser.Controller.Dlna
public string MimeType { get; set; }
+ public string OrgPn { get; set; }
+
public string VideoCodec { get; set; }
public string AudioCodec { get; set; }
+
+ public List<TranscodingSetting> Settings { get; set; }
+
+ public TranscodingProfile()
+ {
+ Settings = new List<TranscodingSetting>();
+ }
+ }
+
+ public class TranscodingSetting
+ {
+ public TranscodingSettingType Name { get; set; }
+ public string Value { get; set; }
+ }
+
+ public enum TranscodingSettingType
+ {
+ Profile
}
}