MarantzProfile.cs 1.0 KB

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