jellyfin-server/MediaBrowser.Dlna/Profiles/Foobar2000Profile.cs

33 lines
792 B
C#
Raw Normal View History

2014-03-26 16:10:46 +00:00
using MediaBrowser.Controller.Dlna;
using System.Xml.Serialization;
2014-04-01 22:23:07 +00:00
using MediaBrowser.Model.Dlna;
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
}
}
};
}
}
}