2014-04-06 17:53:23 +00:00
|
|
|
|
using MediaBrowser.Model.Dlna;
|
2014-03-26 15:06:48 +00:00
|
|
|
|
using System.Xml.Serialization;
|
2014-03-23 16:42:02 +00:00
|
|
|
|
|
|
|
|
|
namespace MediaBrowser.Dlna.Profiles
|
|
|
|
|
{
|
2014-03-26 15:06:48 +00:00
|
|
|
|
[XmlRoot("Profile")]
|
2014-03-23 16:42:02 +00:00
|
|
|
|
public class DefaultProfile : DeviceProfile
|
|
|
|
|
{
|
|
|
|
|
public DefaultProfile()
|
|
|
|
|
{
|
2014-03-26 20:14:47 +00:00
|
|
|
|
Name = "Generic Device";
|
2014-03-25 05:25:03 +00:00
|
|
|
|
|
2014-03-23 17:18:24 +00:00
|
|
|
|
ProtocolInfo = "DLNA";
|
|
|
|
|
|
2014-03-26 20:14:47 +00:00
|
|
|
|
FriendlyName = "Media Browser";
|
2014-03-23 17:18:24 +00:00
|
|
|
|
Manufacturer = "Media Browser";
|
|
|
|
|
ModelDescription = "Media Browser";
|
|
|
|
|
ModelName = "Media Browser";
|
|
|
|
|
ModelNumber = "Media Browser";
|
|
|
|
|
ModelUrl = "http://mediabrowser3.com/";
|
|
|
|
|
ManufacturerUrl = "http://mediabrowser3.com/";
|
|
|
|
|
|
2014-04-21 01:36:12 +00:00
|
|
|
|
AlbumArtPn = "JPEG_SM";
|
|
|
|
|
|
|
|
|
|
MaxAlbumArtHeight = 512;
|
|
|
|
|
MaxAlbumArtWidth = 512;
|
|
|
|
|
|
2014-03-23 16:42:02 +00:00
|
|
|
|
TranscodingProfiles = new[]
|
|
|
|
|
{
|
|
|
|
|
new TranscodingProfile
|
|
|
|
|
{
|
|
|
|
|
Container = "mp3",
|
|
|
|
|
AudioCodec = "mp3",
|
|
|
|
|
Type = DlnaProfileType.Audio
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
new TranscodingProfile
|
|
|
|
|
{
|
2014-04-08 04:17:18 +00:00
|
|
|
|
Container = "ts",
|
2014-03-23 16:42:02 +00:00
|
|
|
|
Type = DlnaProfileType.Video,
|
|
|
|
|
AudioCodec = "aac",
|
|
|
|
|
VideoCodec = "h264",
|
2014-04-01 04:16:25 +00:00
|
|
|
|
VideoProfile= "baseline"
|
2014-03-23 16:42:02 +00:00
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
DirectPlayProfiles = new[]
|
|
|
|
|
{
|
|
|
|
|
new DirectPlayProfile
|
|
|
|
|
{
|
|
|
|
|
Container = "mp3,wma",
|
|
|
|
|
Type = DlnaProfileType.Audio
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
new DirectPlayProfile
|
|
|
|
|
{
|
|
|
|
|
Container = "avi,mp4",
|
|
|
|
|
Type = DlnaProfileType.Video
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|