mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-04-24 22:17:25 -04:00
update dlna profiles
This commit is contained in:
parent
31698e4424
commit
c2c1451beb
7 changed files with 114 additions and 3 deletions
|
@ -587,7 +587,8 @@ namespace Emby.Dlna
|
||||||
new DirectTvProfile(),
|
new DirectTvProfile(),
|
||||||
new DishHopperJoeyProfile(),
|
new DishHopperJoeyProfile(),
|
||||||
new DefaultProfile(),
|
new DefaultProfile(),
|
||||||
new PopcornHourProfile()
|
new PopcornHourProfile(),
|
||||||
|
new MarantzProfile()
|
||||||
};
|
};
|
||||||
|
|
||||||
foreach (var item in list)
|
foreach (var item in list)
|
||||||
|
|
|
@ -86,6 +86,7 @@
|
||||||
<Compile Include="Profiles\Foobar2000Profile.cs" />
|
<Compile Include="Profiles\Foobar2000Profile.cs" />
|
||||||
<Compile Include="Profiles\LgTvProfile.cs" />
|
<Compile Include="Profiles\LgTvProfile.cs" />
|
||||||
<Compile Include="Profiles\LinksysDMA2100Profile.cs" />
|
<Compile Include="Profiles\LinksysDMA2100Profile.cs" />
|
||||||
|
<Compile Include="Profiles\MarantzProfile.cs" />
|
||||||
<Compile Include="Profiles\MediaMonkeyProfile.cs" />
|
<Compile Include="Profiles\MediaMonkeyProfile.cs" />
|
||||||
<Compile Include="Profiles\PanasonicVieraProfile.cs" />
|
<Compile Include="Profiles\PanasonicVieraProfile.cs" />
|
||||||
<Compile Include="Profiles\PopcornHourProfile.cs" />
|
<Compile Include="Profiles\PopcornHourProfile.cs" />
|
||||||
|
@ -177,6 +178,9 @@
|
||||||
<EmbeddedResource Include="Profiles\Xml\Xbox 360.xml" />
|
<EmbeddedResource Include="Profiles\Xml\Xbox 360.xml" />
|
||||||
<EmbeddedResource Include="Profiles\Xml\Xbox One.xml" />
|
<EmbeddedResource Include="Profiles\Xml\Xbox One.xml" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<EmbeddedResource Include="Profiles\Xml\Marantz.xml" />
|
||||||
|
</ItemGroup>
|
||||||
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\Portable\$(TargetFrameworkVersion)\Microsoft.Portable.CSharp.targets" />
|
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\Portable\$(TargetFrameworkVersion)\Microsoft.Portable.CSharp.targets" />
|
||||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||||
Other similar extension points exist, see Microsoft.Common.targets.
|
Other similar extension points exist, see Microsoft.Common.targets.
|
||||||
|
|
|
@ -10,6 +10,8 @@ namespace Emby.Dlna.Profiles
|
||||||
{
|
{
|
||||||
Name = "Denon AVR";
|
Name = "Denon AVR";
|
||||||
|
|
||||||
|
SupportedMediaTypes = "Audio";
|
||||||
|
|
||||||
Identification = new DeviceIdentification
|
Identification = new DeviceIdentification
|
||||||
{
|
{
|
||||||
FriendlyName = @"Denon:\[AVR:.*",
|
FriendlyName = @"Denon:\[AVR:.*",
|
||||||
|
|
42
Emby.Dlna/Profiles/MarantzProfile.cs
Normal file
42
Emby.Dlna/Profiles/MarantzProfile.cs
Normal file
|
@ -0,0 +1,42 @@
|
||||||
|
using System.Xml.Serialization;
|
||||||
|
using MediaBrowser.Model.Dlna;
|
||||||
|
|
||||||
|
namespace Emby.Dlna.Profiles
|
||||||
|
{
|
||||||
|
[XmlRoot("Profile")]
|
||||||
|
public class MarantzProfile : DefaultProfile
|
||||||
|
{
|
||||||
|
public MarantzProfile()
|
||||||
|
{
|
||||||
|
Name = "Marantz";
|
||||||
|
|
||||||
|
SupportedMediaTypes = "Audio";
|
||||||
|
|
||||||
|
Identification = new DeviceIdentification
|
||||||
|
{
|
||||||
|
Manufacturer = @"Marantz",
|
||||||
|
|
||||||
|
Headers = new[]
|
||||||
|
{
|
||||||
|
new HttpHeaderInfo
|
||||||
|
{
|
||||||
|
Name = "User-Agent",
|
||||||
|
Value = "Marantz",
|
||||||
|
Match = HeaderMatchType.Substring
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
DirectPlayProfiles = new[]
|
||||||
|
{
|
||||||
|
new DirectPlayProfile
|
||||||
|
{
|
||||||
|
Container = "aac,mp3,mpa,wav,wma,mp2,ogg,oga",
|
||||||
|
Type = DlnaProfileType.Audio
|
||||||
|
},
|
||||||
|
};
|
||||||
|
|
||||||
|
ResponseProfiles = new ResponseProfile[] { };
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -16,7 +16,7 @@ namespace Emby.Dlna.Profiles
|
||||||
{
|
{
|
||||||
FriendlyName = @"MediaMonkey",
|
FriendlyName = @"MediaMonkey",
|
||||||
|
|
||||||
Headers = new[]
|
Headers = new[]
|
||||||
{
|
{
|
||||||
new HttpHeaderInfo
|
new HttpHeaderInfo
|
||||||
{
|
{
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
<EnableAlbumArtInDidl>false</EnableAlbumArtInDidl>
|
<EnableAlbumArtInDidl>false</EnableAlbumArtInDidl>
|
||||||
<EnableSingleAlbumArtLimit>false</EnableSingleAlbumArtLimit>
|
<EnableSingleAlbumArtLimit>false</EnableSingleAlbumArtLimit>
|
||||||
<EnableSingleSubtitleLimit>false</EnableSingleSubtitleLimit>
|
<EnableSingleSubtitleLimit>false</EnableSingleSubtitleLimit>
|
||||||
<SupportedMediaTypes>Audio,Photo,Video</SupportedMediaTypes>
|
<SupportedMediaTypes>Audio</SupportedMediaTypes>
|
||||||
<AlbumArtPn>JPEG_SM</AlbumArtPn>
|
<AlbumArtPn>JPEG_SM</AlbumArtPn>
|
||||||
<MaxAlbumArtWidth>480</MaxAlbumArtWidth>
|
<MaxAlbumArtWidth>480</MaxAlbumArtWidth>
|
||||||
<MaxAlbumArtHeight>480</MaxAlbumArtHeight>
|
<MaxAlbumArtHeight>480</MaxAlbumArtHeight>
|
||||||
|
|
62
Emby.Dlna/Profiles/Xml/Marantz.xml
Normal file
62
Emby.Dlna/Profiles/Xml/Marantz.xml
Normal file
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue