LinksysDMA2100Profile.cs 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  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 LinksysDMA2100Profile : DefaultProfile
  7. {
  8. public LinksysDMA2100Profile()
  9. {
  10. // Linksys DMA2100us does not need any transcoding of the formats we support statically
  11. Name = "Linksys DMA2100";
  12. Identification = new DeviceIdentification
  13. {
  14. ModelName = "DMA2100us"
  15. };
  16. DirectPlayProfiles = new[]
  17. {
  18. new DirectPlayProfile
  19. {
  20. Container = "mp3,flac,m4a,wma",
  21. Type = DlnaProfileType.Audio
  22. },
  23. new DirectPlayProfile
  24. {
  25. Container = "avi,mp4,mkv,ts,mpegts,m4v",
  26. Type = DlnaProfileType.Video
  27. }
  28. };
  29. ResponseProfiles = new[]
  30. {
  31. new ResponseProfile
  32. {
  33. Container = "m4v",
  34. Type = DlnaProfileType.Video,
  35. MimeType = "video/mp4"
  36. }
  37. };
  38. SubtitleProfiles = new[]
  39. {
  40. new SubtitleProfile
  41. {
  42. Format = "srt",
  43. Method = SubtitleDeliveryMethod.Embed
  44. }
  45. };
  46. }
  47. }
  48. }