You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
1.2 KiB
46 lines
1.2 KiB
using System.Xml.Serialization;
|
|
using MediaBrowser.Model.Dlna;
|
|
|
|
namespace Emby.Dlna.Profiles
|
|
{
|
|
[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,m4v",
|
|
Type = DlnaProfileType.Video
|
|
}
|
|
};
|
|
|
|
ResponseProfiles = new ResponseProfile[]
|
|
{
|
|
new ResponseProfile
|
|
{
|
|
Container = "m4v",
|
|
Type = DlnaProfileType.Video,
|
|
MimeType = "video/mp4"
|
|
}
|
|
};
|
|
}
|
|
}
|
|
}
|