DeviceProfile.cs 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. 
  2. namespace MediaBrowser.Controller.Dlna
  3. {
  4. public class DeviceProfile
  5. {
  6. /// <summary>
  7. /// Gets or sets the name.
  8. /// </summary>
  9. /// <value>The name.</value>
  10. public string Name { get; set; }
  11. /// <summary>
  12. /// Gets or sets the type of the client.
  13. /// </summary>
  14. /// <value>The type of the client.</value>
  15. public string ClientType { get; set; }
  16. /// <summary>
  17. /// Gets or sets the transcoding profiles.
  18. /// </summary>
  19. /// <value>The transcoding profiles.</value>
  20. public TranscodingProfile[] TranscodingProfiles { get; set; }
  21. /// <summary>
  22. /// Gets or sets the direct play profiles.
  23. /// </summary>
  24. /// <value>The direct play profiles.</value>
  25. public DirectPlayProfile[] DirectPlayProfiles { get; set; }
  26. /// <summary>
  27. /// Gets or sets the identification.
  28. /// </summary>
  29. /// <value>The identification.</value>
  30. public DeviceIdentification Identification { get; set; }
  31. public string FriendlyName { get; set; }
  32. public string Manufacturer { get; set; }
  33. public string ManufacturerUrl { get; set; }
  34. public string ModelName { get; set; }
  35. public string ModelDescription { get; set; }
  36. public string ModelNumber { get; set; }
  37. public string ModelUrl { get; set; }
  38. /// <summary>
  39. /// Controls the content of the X_DLNADOC element in the urn:schemas-dlna-org:device-1-0 namespace.
  40. /// </summary>
  41. public string XDlnaDoc { get; set; }
  42. /// <summary>
  43. /// Controls the content of the X_DLNACAP element in the urn:schemas-dlna-org:device-1-0 namespace.
  44. /// </summary>
  45. public string XDlnaCap { get; set; }
  46. /// <summary>
  47. /// Controls the content of the aggregationFlags element in the urn:schemas-sonycom:av.
  48. /// </summary>
  49. public string SonyAggregationFlags { get; set; }
  50. public string ProtocolInfo { get; set; }
  51. public MediaProfile[] MediaProfiles { get; set; }
  52. public CodecProfile[] CodecProfiles { get; set; }
  53. public int TimelineOffsetSeconds { get; set; }
  54. public DeviceProfile()
  55. {
  56. DirectPlayProfiles = new DirectPlayProfile[] { };
  57. TranscodingProfiles = new TranscodingProfile[] { };
  58. MediaProfiles = new MediaProfile[] { };
  59. CodecProfiles = new CodecProfile[] { };
  60. }
  61. }
  62. }