2019-01-13 20:54:44 +01:00
|
|
|
using MediaBrowser.Model.Dlna;
|
2016-10-30 00:22:20 +02:00
|
|
|
|
2016-10-30 00:34:54 +02:00
|
|
|
namespace Emby.Dlna.Profiles
|
2016-10-30 00:22:20 +02:00
|
|
|
{
|
2018-09-12 19:26:21 +02:00
|
|
|
[System.Xml.Serialization.XmlRoot("Profile")]
|
2016-10-30 00:22:20 +02:00
|
|
|
public class MediaMonkeyProfile : DefaultProfile
|
|
|
|
{
|
|
|
|
public MediaMonkeyProfile()
|
|
|
|
{
|
|
|
|
Name = "MediaMonkey";
|
|
|
|
|
|
|
|
SupportedMediaTypes = "Audio";
|
|
|
|
|
|
|
|
Identification = new DeviceIdentification
|
|
|
|
{
|
2019-01-13 20:16:19 +01:00
|
|
|
FriendlyName = @"MediaMonkey",
|
2016-10-30 00:22:20 +02:00
|
|
|
|
2019-01-13 20:16:19 +01:00
|
|
|
Headers = new[]
|
2016-10-30 00:22:20 +02:00
|
|
|
{
|
|
|
|
new HttpHeaderInfo
|
|
|
|
{
|
|
|
|
Name = "User-Agent",
|
|
|
|
Value = "MediaMonkey",
|
|
|
|
Match = HeaderMatchType.Substring
|
|
|
|
}
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
|
|
|
DirectPlayProfiles = new[]
|
|
|
|
{
|
|
|
|
new DirectPlayProfile
|
|
|
|
{
|
2017-06-04 22:27:42 +02:00
|
|
|
Container = "aac,mp3,mpa,wav,wma,mp2,ogg,oga,webma,ape,opus,flac,m4a",
|
2016-10-30 00:22:20 +02:00
|
|
|
Type = DlnaProfileType.Audio
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
|
|
|
ResponseProfiles = new ResponseProfile[] { };
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|