LinksysDMA2100Profile.cs 1000 B

12345678910111213141516171819202122232425262728293031323334353637
  1. using System.Xml.Serialization;
  2. using MediaBrowser.Model.Dlna;
  3. namespace MediaBrowser.Dlna.Profiles
  4. {
  5. [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",
  26. Type = DlnaProfileType.Video
  27. }
  28. };
  29. ResponseProfiles = new ResponseProfile[] { };
  30. }
  31. }
  32. }