jellyfin/MediaBrowser.Dlna/Profiles/Foobar2000Profile.cs

78 lines
2.0 KiB
C#
Raw Normal View History

2014-04-24 14:11:05 +00:00
using MediaBrowser.Model.Dlna;
2014-03-26 16:10:46 +00:00
using System.Xml.Serialization;
2014-03-25 05:25:03 +00:00
namespace MediaBrowser.Dlna.Profiles
{
2014-03-26 15:06:48 +00:00
[XmlRoot("Profile")]
2014-03-25 05:25:03 +00:00
public class Foobar2000Profile : DefaultProfile
{
public Foobar2000Profile()
{
Name = "foobar2000";
2014-03-26 16:10:46 +00:00
SupportedMediaTypes = "Audio";
2016-08-19 06:22:18 +00:00
2014-03-25 05:25:03 +00:00
Identification = new DeviceIdentification
{
FriendlyName = @"foobar",
Headers = new[]
{
new HttpHeaderInfo
{
Name = "User-Agent",
Value = "foobar",
Match = HeaderMatchType.Substring
}
}
};
2014-05-21 01:26:14 +00:00
DirectPlayProfiles = new[]
{
new DirectPlayProfile
{
Container = "mp3",
AudioCodec = "mp2,mp3",
Type = DlnaProfileType.Audio
},
new DirectPlayProfile
{
Container = "mp4",
AudioCodec = "mp4",
Type = DlnaProfileType.Audio
},
new DirectPlayProfile
{
Container = "aac,wav",
Type = DlnaProfileType.Audio
},
new DirectPlayProfile
{
Container = "flac",
AudioCodec = "flac",
Type = DlnaProfileType.Audio
},
new DirectPlayProfile
{
Container = "asf",
AudioCodec = "wmav2,wmapro,wmavoice",
Type = DlnaProfileType.Audio
},
new DirectPlayProfile
{
Container = "ogg",
AudioCodec = "vorbis",
Type = DlnaProfileType.Audio
}
};
2016-08-19 06:22:18 +00:00
ResponseProfiles = new ResponseProfile[] { };
2014-03-25 05:25:03 +00:00
}
}
}