DenonAvrProfile.cs 734 B

123456789101112131415161718192021222324252627282930
  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 DenonAvrProfile : DefaultProfile
  8. {
  9. public DenonAvrProfile()
  10. {
  11. Name = "Denon AVR";
  12. Identification = new DeviceIdentification
  13. {
  14. FriendlyName = @"Denon:\[AVR:.*",
  15. Manufacturer = "Denon"
  16. };
  17. DirectPlayProfiles = new[]
  18. {
  19. new DirectPlayProfile
  20. {
  21. Container = "mp3,flac,m4a,wma",
  22. Type = DlnaProfileType.Audio
  23. },
  24. };
  25. }
  26. }
  27. }