jellyfin/Emby.Dlna/Profiles/MediaMonkeyProfile.cs

45 lines
1.1 KiB
C#
Raw Normal View History

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