2014-03-13 19:08:02 +00:00
|
|
|
|
|
|
|
|
|
namespace MediaBrowser.Controller.Dlna
|
|
|
|
|
{
|
2014-03-15 04:14:07 +00:00
|
|
|
|
public class DeviceProfile
|
2014-03-13 19:08:02 +00:00
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the name.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The name.</value>
|
|
|
|
|
public string Name { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the type of the client.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The type of the client.</value>
|
|
|
|
|
public string ClientType { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the transcoding profiles.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The transcoding profiles.</value>
|
|
|
|
|
public TranscodingProfile[] TranscodingProfiles { get; set; }
|
2014-03-23 16:42:02 +00:00
|
|
|
|
|
2014-03-13 19:08:02 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the direct play profiles.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The direct play profiles.</value>
|
|
|
|
|
public DirectPlayProfile[] DirectPlayProfiles { get; set; }
|
|
|
|
|
|
2014-03-23 16:42:02 +00:00
|
|
|
|
public ContainerProfile[] ContainerProfiles { get; set; }
|
|
|
|
|
|
2014-03-17 14:48:16 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the identification.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The identification.</value>
|
|
|
|
|
public DeviceIdentification Identification { get; set; }
|
|
|
|
|
|
2014-03-18 01:45:41 +00:00
|
|
|
|
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; }
|
2014-03-23 16:42:02 +00:00
|
|
|
|
public bool IgnoreTranscodeByteRangeRequests { get; set; }
|
2014-03-23 17:18:24 +00:00
|
|
|
|
public bool SupportsAlbumArtInDidl { get; set; }
|
2014-03-23 16:42:02 +00:00
|
|
|
|
|
2014-03-18 01:45:41 +00:00
|
|
|
|
/// <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; }
|
|
|
|
|
|
2014-03-22 19:37:15 +00:00
|
|
|
|
public MediaProfile[] MediaProfiles { get; set; }
|
2014-03-22 20:02:10 +00:00
|
|
|
|
public CodecProfile[] CodecProfiles { get; set; }
|
2014-03-22 19:37:15 +00:00
|
|
|
|
|
2014-03-22 20:50:28 +00:00
|
|
|
|
public int TimelineOffsetSeconds { get; set; }
|
|
|
|
|
|
2014-03-23 00:48:34 +00:00
|
|
|
|
public bool RequiresPlainVideoItems { get; set; }
|
|
|
|
|
public bool RequiresPlainFolders { get; set; }
|
2014-03-23 16:42:02 +00:00
|
|
|
|
|
2014-03-15 04:14:07 +00:00
|
|
|
|
public DeviceProfile()
|
2014-03-13 19:08:02 +00:00
|
|
|
|
{
|
|
|
|
|
DirectPlayProfiles = new DirectPlayProfile[] { };
|
|
|
|
|
TranscodingProfiles = new TranscodingProfile[] { };
|
2014-03-22 19:37:15 +00:00
|
|
|
|
MediaProfiles = new MediaProfile[] { };
|
2014-03-22 20:02:10 +00:00
|
|
|
|
CodecProfiles = new CodecProfile[] { };
|
2014-03-23 16:42:02 +00:00
|
|
|
|
ContainerProfiles = new ContainerProfile[] { };
|
2014-03-13 19:08:02 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|