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