LinksysDMA2100Profile.cs 977 B

123456789101112131415161718192021222324252627282930313233343536
  1. using System.Xml.Serialization;
  2. using MediaBrowser.Controller.Dlna;
  3. using MediaBrowser.Model.Dlna;
  4. namespace MediaBrowser.Dlna.Profiles
  5. {
  6. [XmlRoot("Profile")]
  7. public class LinksysDMA2100Profile : DefaultProfile
  8. {
  9. public LinksysDMA2100Profile()
  10. {
  11. // Linksys DMA2100us does not need any transcoding of the formats we support statically
  12. Name = "Linksys DMA2100";
  13. Identification = new DeviceIdentification
  14. {
  15. ModelName = "DMA2100us"
  16. };
  17. DirectPlayProfiles = new[]
  18. {
  19. new DirectPlayProfile
  20. {
  21. Container = "mp3,flac,m4a,wma",
  22. Type = DlnaProfileType.Audio
  23. },
  24. new DirectPlayProfile
  25. {
  26. Container = "avi,mp4,mkv,ts",
  27. Type = DlnaProfileType.Video
  28. }
  29. };
  30. }
  31. }
  32. }