MediaMonkeyProfile.cs 1.1 KB

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