mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-16 10:29:01 -07:00
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
|
|
}
|
|
}
|
|
};
|
|
}
|
|
}
|
|
}
|