2016-10-29 22:22:20 +00:00
|
|
|
|
using System.Xml.Serialization;
|
|
|
|
|
using MediaBrowser.Model.Dlna;
|
|
|
|
|
|
2016-10-29 22:34:54 +00:00
|
|
|
|
namespace Emby.Dlna.Profiles
|
2016-10-29 22:22:20 +00:00
|
|
|
|
{
|
|
|
|
|
[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
|
|
|
|
|
{
|
2017-01-21 20:20:15 +00:00
|
|
|
|
Container = "avi,mp4,mkv,ts,m4v",
|
2016-10-29 22:22:20 +00:00
|
|
|
|
Type = DlnaProfileType.Video
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
|
2017-01-21 20:20:15 +00:00
|
|
|
|
ResponseProfiles = new ResponseProfile[]
|
|
|
|
|
{
|
|
|
|
|
new ResponseProfile
|
|
|
|
|
{
|
|
|
|
|
Container = "m4v",
|
|
|
|
|
Type = DlnaProfileType.Video,
|
|
|
|
|
MimeType = "video/mp4"
|
|
|
|
|
}
|
|
|
|
|
};
|
2017-03-07 18:27:56 +00:00
|
|
|
|
|
|
|
|
|
SubtitleProfiles = new[]
|
|
|
|
|
{
|
|
|
|
|
new SubtitleProfile
|
|
|
|
|
{
|
|
|
|
|
Format = "srt",
|
|
|
|
|
Method = SubtitleDeliveryMethod.Embed
|
|
|
|
|
}
|
|
|
|
|
};
|
2016-10-29 22:22:20 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|