mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-17 10:58:58 -07:00
82112b6788
* Improve response writer * Add analyzers * Error on warnings in release mode * Disable doc warnings
45 lines
1.1 KiB
C#
45 lines
1.1 KiB
C#
#pragma warning disable CS1591
|
|
#pragma warning disable SA1600
|
|
|
|
using MediaBrowser.Model.Dlna;
|
|
|
|
namespace Emby.Dlna.Profiles
|
|
{
|
|
[System.Xml.Serialization.XmlRoot("Profile")]
|
|
public class MediaMonkeyProfile : DefaultProfile
|
|
{
|
|
public MediaMonkeyProfile()
|
|
{
|
|
Name = "MediaMonkey";
|
|
|
|
SupportedMediaTypes = "Audio";
|
|
|
|
Identification = new DeviceIdentification
|
|
{
|
|
FriendlyName = @"MediaMonkey",
|
|
|
|
Headers = new[]
|
|
{
|
|
new HttpHeaderInfo
|
|
{
|
|
Name = "User-Agent",
|
|
Value = "MediaMonkey",
|
|
Match = HeaderMatchType.Substring
|
|
}
|
|
}
|
|
};
|
|
|
|
DirectPlayProfiles = new[]
|
|
{
|
|
new DirectPlayProfile
|
|
{
|
|
Container = "aac,mp3,mpa,wav,wma,mp2,ogg,oga,webma,ape,opus,flac,m4a",
|
|
Type = DlnaProfileType.Audio
|
|
}
|
|
};
|
|
|
|
ResponseProfiles = new ResponseProfile[] { };
|
|
}
|
|
}
|
|
}
|