Foobar2000Profile.cs 756 B

12345678910111213141516171819202122232425262728293031
  1. using MediaBrowser.Model.Dlna;
  2. using System.Xml.Serialization;
  3. namespace MediaBrowser.Dlna.Profiles
  4. {
  5. [XmlRoot("Profile")]
  6. public class Foobar2000Profile : DefaultProfile
  7. {
  8. public Foobar2000Profile()
  9. {
  10. Name = "foobar2000";
  11. SupportedMediaTypes = "Audio";
  12. Identification = new DeviceIdentification
  13. {
  14. FriendlyName = @"foobar",
  15. Headers = new[]
  16. {
  17. new HttpHeaderInfo
  18. {
  19. Name = "User-Agent",
  20. Value = "foobar",
  21. Match = HeaderMatchType.Substring
  22. }
  23. }
  24. };
  25. }
  26. }
  27. }