mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-17 10:58:58 -07:00
43 lines
1.0 KiB
C#
43 lines
1.0 KiB
C#
|
using System.Xml.Serialization;
|
|||
|
using MediaBrowser.Model.Dlna;
|
|||
|
|
|||
|
namespace Emby.Dlna.Profiles
|
|||
|
{
|
|||
|
[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,mpa,wav,wma,mp2,ogg,oga",
|
|||
|
Type = DlnaProfileType.Audio
|
|||
|
},
|
|||
|
};
|
|||
|
|
|||
|
ResponseProfiles = new ResponseProfile[] { };
|
|||
|
}
|
|||
|
}
|
|||
|
}
|