mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-07 03:48:06 +02:00
31 lines
761 B
C#
31 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
|
|
}
|
|
}
|
|
};
|
|
}
|
|
}
|
|
}
|