mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-17 10:58:58 -07:00
82112b6788
* Improve response writer * Add analyzers * Error on warnings in release mode * Disable doc warnings
57 lines
1.5 KiB
C#
57 lines
1.5 KiB
C#
#pragma warning disable CS1591
|
|
#pragma warning disable SA1600
|
|
|
|
using MediaBrowser.Model.Dlna;
|
|
|
|
namespace Emby.Dlna.Profiles
|
|
{
|
|
[System.Xml.Serialization.XmlRoot("Profile")]
|
|
public class LinksysDMA2100Profile : DefaultProfile
|
|
{
|
|
public LinksysDMA2100Profile()
|
|
{
|
|
// Linksys DMA2100us does not need any transcoding of the formats we support statically
|
|
Name = "Linksys DMA2100";
|
|
|
|
Identification = new DeviceIdentification
|
|
{
|
|
ModelName = "DMA2100us"
|
|
};
|
|
|
|
DirectPlayProfiles = new[]
|
|
{
|
|
new DirectPlayProfile
|
|
{
|
|
Container = "mp3,flac,m4a,wma",
|
|
Type = DlnaProfileType.Audio
|
|
},
|
|
|
|
new DirectPlayProfile
|
|
{
|
|
Container = "avi,mp4,mkv,ts,mpegts,m4v",
|
|
Type = DlnaProfileType.Video
|
|
}
|
|
};
|
|
|
|
ResponseProfiles = new ResponseProfile[]
|
|
{
|
|
new ResponseProfile
|
|
{
|
|
Container = "m4v",
|
|
Type = DlnaProfileType.Video,
|
|
MimeType = "video/mp4"
|
|
}
|
|
};
|
|
|
|
SubtitleProfiles = new[]
|
|
{
|
|
new SubtitleProfile
|
|
{
|
|
Format = "srt",
|
|
Method = SubtitleDeliveryMethod.Embed
|
|
}
|
|
};
|
|
}
|
|
}
|
|
}
|