MarantzProfile.cs 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. #pragma warning disable CS1591
  2. #pragma warning disable SA1600
  3. using MediaBrowser.Model.Dlna;
  4. namespace Emby.Dlna.Profiles
  5. {
  6. [System.Xml.Serialization.XmlRoot("Profile")]
  7. public class MarantzProfile : DefaultProfile
  8. {
  9. public MarantzProfile()
  10. {
  11. Name = "Marantz";
  12. SupportedMediaTypes = "Audio";
  13. Identification = new DeviceIdentification
  14. {
  15. Manufacturer = @"Marantz",
  16. Headers = new[]
  17. {
  18. new HttpHeaderInfo
  19. {
  20. Name = "User-Agent",
  21. Value = "Marantz",
  22. Match = HeaderMatchType.Substring
  23. }
  24. }
  25. };
  26. DirectPlayProfiles = new[]
  27. {
  28. new DirectPlayProfile
  29. {
  30. Container = "aac,mp3,wav,wma,flac",
  31. Type = DlnaProfileType.Audio
  32. },
  33. };
  34. ResponseProfiles = new ResponseProfile[] { };
  35. }
  36. }
  37. }