jellyfin/MediaBrowser.Dlna/Profiles/Foobar2000Profile.cs

32 lines
761 B
C#
Raw Normal View History

2014-03-26 16:10:46 +00:00
using MediaBrowser.Controller.Dlna;
using System.Xml.Serialization;
2014-03-25 05:25:03 +00:00
namespace MediaBrowser.Dlna.Profiles
{
2014-03-26 15:06:48 +00:00
[XmlRoot("Profile")]
2014-03-25 05:25:03 +00:00
public class Foobar2000Profile : DefaultProfile
{
public Foobar2000Profile()
{
Name = "foobar2000";
2014-03-26 16:10:46 +00:00
SupportedMediaTypes = "Audio";
2014-03-25 05:25:03 +00:00
Identification = new DeviceIdentification
{
FriendlyName = @"foobar",
Headers = new[]
{
new HttpHeaderInfo
{
Name = "User-Agent",
Value = "foobar",
Match = HeaderMatchType.Substring
}
}
};
}
}
}