42 lines
1.0 KiB
C#
42 lines
1.0 KiB
C#
using MediaBrowser.Model.Dlna;
|
|
|
|
namespace Emby.Dlna.Profiles
|
|
{
|
|
[System.Xml.Serialization.XmlRoot("Profile")]
|
|
public class MarantzProfile : DefaultProfile
|
|
{
|
|
public MarantzProfile()
|
|
{
|
|
Name = "Marantz";
|
|
|
|
SupportedMediaTypes = "Audio";
|
|
|
|
Identification = new DeviceIdentification
|
|
{
|
|
Manufacturer = @"Marantz",
|
|
|
|
Headers = new[]
|
|
{
|
|
new HttpHeaderInfo
|
|
{
|
|
Name = "User-Agent",
|
|
Value = "Marantz",
|
|
Match = HeaderMatchType.Substring
|
|
}
|
|
}
|
|
};
|
|
|
|
DirectPlayProfiles = new[]
|
|
{
|
|
new DirectPlayProfile
|
|
{
|
|
Container = "aac,mp3,wav,wma,flac",
|
|
Type = DlnaProfileType.Audio
|
|
},
|
|
};
|
|
|
|
ResponseProfiles = new ResponseProfile[] { };
|
|
}
|
|
}
|
|
}
|