MediaMonkeyProfile.cs 1.1 KB

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