32 lines
761 B
C#
32 lines
761 B
C#
using MediaBrowser.Controller.Dlna;
|
|
using System.Xml.Serialization;
|
|
|
|
namespace MediaBrowser.Dlna.Profiles
|
|
{
|
|
[XmlRoot("Profile")]
|
|
public class Foobar2000Profile : DefaultProfile
|
|
{
|
|
public Foobar2000Profile()
|
|
{
|
|
Name = "foobar2000";
|
|
|
|
SupportedMediaTypes = "Audio";
|
|
|
|
Identification = new DeviceIdentification
|
|
{
|
|
FriendlyName = @"foobar",
|
|
|
|
Headers = new[]
|
|
{
|
|
new HttpHeaderInfo
|
|
{
|
|
Name = "User-Agent",
|
|
Value = "foobar",
|
|
Match = HeaderMatchType.Substring
|
|
}
|
|
}
|
|
};
|
|
}
|
|
}
|
|
}
|