38 lines
1017 B
C#
38 lines
1017 B
C#
using System.Xml.Serialization;
|
|
using MediaBrowser.Controller.Dlna;
|
|
using MediaBrowser.Model.Dlna;
|
|
using MediaBrowser.Model.Dlna.Profiles;
|
|
|
|
namespace MediaBrowser.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",
|
|
Type = DlnaProfileType.Video
|
|
}
|
|
};
|
|
}
|
|
}
|
|
}
|