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