jellyfin/Emby.Dlna/Profiles/MarantzProfile.cs

43 lines
1.0 KiB
C#
Raw Normal View History

2017-06-25 23:04:15 +00:00
using System.Xml.Serialization;
using MediaBrowser.Model.Dlna;
namespace Emby.Dlna.Profiles
{
2018-09-12 17:26:21 +00:00
[System.Xml.Serialization.XmlRoot("Profile")]
2017-06-25 23:04:15 +00:00
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
{
2017-06-26 16:20:45 +00:00
Container = "aac,mp3,wav,wma,flac",
2017-06-25 23:04:15 +00:00
Type = DlnaProfileType.Audio
},
};
ResponseProfiles = new ResponseProfile[] { };
}
}
}