2020-01-22 13:00:07 -07:00
|
|
|
#pragma warning disable CS1591
|
|
|
|
|
2019-01-13 12:54:44 -07:00
|
|
|
using MediaBrowser.Model.Dlna;
|
2016-10-29 15:22:20 -07:00
|
|
|
|
2016-10-29 15:34:54 -07:00
|
|
|
namespace Emby.Dlna.Profiles
|
2016-10-29 15:22:20 -07:00
|
|
|
{
|
2018-09-12 10:26:21 -07:00
|
|
|
[System.Xml.Serialization.XmlRoot("Profile")]
|
2016-10-29 15:22:20 -07:00
|
|
|
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
|
|
|
|
{
|
2017-11-27 12:10:05 -07:00
|
|
|
Container = "avi,mp4,mkv,ts,mpegts,m4v",
|
2016-10-29 15:22:20 -07:00
|
|
|
Type = DlnaProfileType.Video
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
2020-08-20 08:01:04 -07:00
|
|
|
ResponseProfiles = new[]
|
2017-01-21 13:20:15 -07:00
|
|
|
{
|
|
|
|
new ResponseProfile
|
|
|
|
{
|
|
|
|
Container = "m4v",
|
|
|
|
Type = DlnaProfileType.Video,
|
|
|
|
MimeType = "video/mp4"
|
|
|
|
}
|
|
|
|
};
|
2017-03-07 11:27:56 -07:00
|
|
|
|
|
|
|
SubtitleProfiles = new[]
|
|
|
|
{
|
|
|
|
new SubtitleProfile
|
|
|
|
{
|
|
|
|
Format = "srt",
|
|
|
|
Method = SubtitleDeliveryMethod.Embed
|
|
|
|
}
|
|
|
|
};
|
2016-10-29 15:22:20 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|