The Free Software Media System - Server Backend & API
added ps4 profile
Luke Pulverenti3ff3815b4446
diff --git a/MediaBrowser.Dlna/DlnaManager.cs b/MediaBrowser.Dlna/DlnaManager.csindex 2d2525919e..9ce62034b4 100644--- a/MediaBrowser.Dlna/DlnaManager.cs+++ b/MediaBrowser.Dlna/DlnaManager.cs@@ -525,6 +525,7 @@ namespace MediaBrowser.Dlnanew Xbox360Profile(),new XboxOneProfile(),new SonyPs3Profile(),+ new SonyPs4Profile(),new SonyBravia2010Profile(),new SonyBravia2011Profile(),new SonyBravia2012Profile(),diff --git a/MediaBrowser.Dlna/MediaBrowser.Dlna.csproj b/MediaBrowser.Dlna/MediaBrowser.Dlna.csprojindex 204872e7b6..06aaff734e 100644--- a/MediaBrowser.Dlna/MediaBrowser.Dlna.csproj+++ b/MediaBrowser.Dlna/MediaBrowser.Dlna.csproj@@ -82,6 +82,7 @@<Compile Include="Profiles\DirectTvProfile.cs" /><Compile Include="Profiles\DishHopperJoeyProfile.cs" /><Compile Include="Profiles\PopcornHourProfile.cs" />+ <Compile Include="Profiles\SonyPs4Profile.cs" /><Compile Include="Profiles\VlcProfile.cs" /><Compile Include="Ssdp\DeviceDiscoveryInfo.cs" /><Compile Include="Ssdp\Extensions.cs" />@@ -210,6 +211,9 @@<EmbeddedResource Include="Profiles\Xml\BubbleUPnp.xml" /><EmbeddedResource Include="Profiles\Xml\Vlc.xml" /></ItemGroup>+ <ItemGroup>+ <EmbeddedResource Include="Profiles\Xml\Sony PlayStation 4.xml" />+ </ItemGroup><Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /><!-- 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.diff --git a/MediaBrowser.Dlna/Profiles/SonyPs4Profile.cs b/MediaBrowser.Dlna/Profiles/SonyPs4Profile.csnew file mode 100644index 0000000000..dd974d252d--- /dev/null+++ b/MediaBrowser.Dlna/Profiles/SonyPs4Profile.cs@@ -0,0 +1,260 @@+using MediaBrowser.Model.Dlna;+using System.Xml.Serialization;++namespace MediaBrowser.Dlna.Profiles+{+ [XmlRoot("Profile")]+ public class SonyPs4Profile : DefaultProfile+ {+ public SonyPs4Profile()+ {+ Name = "Sony PlayStation 4";++ Identification = new DeviceIdentification+ {+ FriendlyName = "PLAYSTATION 4",++ Headers = new[]+ {+ new HttpHeaderInfo+ {+ Name = "User-Agent",+ Value = @"PLAYSTATION 4",+ Match = HeaderMatchType.Substring+ },++ new HttpHeaderInfo+ {+ Name = "X-AV-Client-Info",+ Value = @"PLAYSTATION 4",+ Match = HeaderMatchType.Substring+ }+ }+ };++ AlbumArtPn = "JPEG_TN";++ SonyAggregationFlags = "10";+ XDlnaDoc = "DMS-1.50";+ EnableSingleAlbumArtLimit = true;++ DirectPlayProfiles = new[]+ {+ new DirectPlayProfile+ {+ Container = "avi",+ Type = DlnaProfileType.Video,+ VideoCodec = "mpeg4",+ AudioCodec = "mp2,mp3"+ },+ new DirectPlayProfile+ {+ Container = "ts",+ Type = DlnaProfileType.Video,+ VideoCodec = "mpeg1video,mpeg2video,h264",+ AudioCodec = "ac3,mp2,mp3,aac"+ },+ new DirectPlayProfile+ {+ Container = "mpeg",+ Type = DlnaProfileType.Video,+ VideoCodec = "mpeg1video,mpeg2video",+ AudioCodec = "mp2"+ },+ new DirectPlayProfile+ {+ Container = "mp4,mkv",+ Type = DlnaProfileType.Video,+ VideoCodec = "h264,mpeg4",+ AudioCodec = "aac,ac3"+ },+ new DirectPlayProfile+ {+ Container = "aac,mp3,wav",+ Type = DlnaProfileType.Audio+ },+ new DirectPlayProfile+ {+ Container = "jpeg,png,gif,bmp,tiff",+ Type = DlnaProfileType.Photo+ }+ };++ TranscodingProfiles = new[]+ {+ new TranscodingProfile+ {+ Container = "mp3",+ AudioCodec = "mp3",+ Type = DlnaProfileType.Audio+ },+ new TranscodingProfile+ {+ Container = "ts",+ VideoCodec = "h264",+ AudioCodec = "mp3",+ Type = DlnaProfileType.Video+ },+ new TranscodingProfile+ {+ Container = "jpeg",+ Type = DlnaProfileType.Photo+ }+ };++ ContainerProfiles = new[]+ {+ new ContainerProfile+ {+ Type = DlnaProfileType.Photo,++ Conditions = new []+ {+ new ProfileCondition+ {+ Condition = ProfileConditionType.LessThanEqual,+ Property = ProfileConditionValue.Width,+ Value = "1920"+ },+ new ProfileCondition+ {+ Condition = ProfileConditionType.LessThanEqual,+ Property = ProfileConditionValue.Height,+ Value = "1080"+ }+ }+ }+ };++ CodecProfiles = new[]+ {+ new CodecProfile+ {+ Type = CodecType.Video,+ Codec = "h264",++ Conditions = new []+ {+ new ProfileCondition+ {+ Condition = ProfileConditionType.LessThanEqual,+ Property = ProfileConditionValue.Width,+ Value = "1920"+ },+ new ProfileCondition+ {+ Condition = ProfileConditionType.LessThanEqual,+ Property = ProfileConditionValue.Height,+ Value = "1080"+ },+ new ProfileCondition+ {+ Condition = ProfileConditionType.LessThanEqual,+ Property = ProfileConditionValue.VideoFramerate,+ Value = "30",+ IsRequired = false+ },+ new ProfileCondition+ {+ Condition = ProfileConditionType.LessThanEqual,+ Property = ProfileConditionValue.VideoBitrate,+ Value = "15360000",+ IsRequired = false+ },+ new ProfileCondition+ {+ Condition = ProfileConditionType.LessThanEqual,+ Property = ProfileConditionValue.VideoLevel,+ Value = "41",+ IsRequired = false+ }+ }+ },++ new CodecProfile+ {+ Type = CodecType.VideoAudio,+ Codec = "ac3",++ Conditions = new []+ {+ new ProfileCondition+ {+ Condition = ProfileConditionType.LessThanEqual,+ Property = ProfileConditionValue.AudioChannels,+ Value = "6",+ IsRequired = false+ },++ new ProfileCondition+ {+ Condition = ProfileConditionType.LessThanEqual,+ Property = ProfileConditionValue.AudioBitrate,+ Value = "640000",+ IsRequired = false+ }+ }+ },++ new CodecProfile+ {+ Type = CodecType.VideoAudio,+ Codec = "wmapro",++ Conditions = new []+ {+ new ProfileCondition+ {+ Condition = ProfileConditionType.LessThanEqual,+ Property = ProfileConditionValue.AudioChannels,+ Value = "2"+ }+ }+ },++ new CodecProfile+ {+ Type = CodecType.VideoAudio,+ Codec = "aac",++ Conditions = new []+ {+ new ProfileCondition+ {+ Condition = ProfileConditionType.NotEquals,+ Property = ProfileConditionValue.AudioProfile,+ Value = "he-aac",+ IsRequired = false+ }+ }+ }+ };++ ResponseProfiles = new[]+ {+ new ResponseProfile+ {+ Container = "mp4,mov",+ AudioCodec="aac",+ MimeType = "video/mp4",+ Type = DlnaProfileType.Video+ },++ new ResponseProfile+ {+ Container = "avi",+ MimeType = "video/divx",+ OrgPn="AVI",+ Type = DlnaProfileType.Video+ },++ new ResponseProfile+ {+ Container = "wav",+ MimeType = "audio/wav",+ Type = DlnaProfileType.Audio+ }+ };+ }+ }+}diff --git a/MediaBrowser.Dlna/Profiles/Xml/Sony PlayStation 4.xml b/MediaBrowser.Dlna/Profiles/Xml/Sony PlayStation 4.xmlnew file mode 100644index 0000000000..3b372aec5c--- /dev/null+++ b/MediaBrowser.Dlna/Profiles/Xml/Sony PlayStation 4.xml@@ -0,0 +1,100 @@+<?xml version="1.0"?>+<Profile xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">+ <Name>Sony PlayStation 4</Name>+ <Identification>+ <FriendlyName>PLAYSTATION 4</FriendlyName>+ <Headers>+ <HttpHeaderInfo name="User-Agent" value="PLAYSTATION 4" match="Substring" />+ <HttpHeaderInfo name="X-AV-Client-Info" value="PLAYSTATION 4" match="Substring" />+ </Headers>+ </Identification>+ <FriendlyName>Emby</FriendlyName>+ <Manufacturer>Emby</Manufacturer>+ <ManufacturerUrl>http://emby.media/</ManufacturerUrl>+ <ModelName>Emby</ModelName>+ <ModelDescription>Emby</ModelDescription>+ <ModelNumber>Emby</ModelNumber>+ <ModelUrl>http://emby.media/</ModelUrl>+ <EnableAlbumArtInDidl>false</EnableAlbumArtInDidl>+ <EnableSingleAlbumArtLimit>true</EnableSingleAlbumArtLimit>+ <SupportedMediaTypes>Audio,Photo,Video</SupportedMediaTypes>+ <AlbumArtPn>JPEG_TN</AlbumArtPn>+ <MaxAlbumArtWidth>480</MaxAlbumArtWidth>+ <MaxAlbumArtHeight>480</MaxAlbumArtHeight>+ <MaxIconWidth>48</MaxIconWidth>+ <MaxIconHeight>48</MaxIconHeight>+ <MaxStreamingBitrate>10000000</MaxStreamingBitrate>+ <MaxStaticBitrate>10000000</MaxStaticBitrate>+ <MusicStreamingTranscodingBitrate>128000</MusicStreamingTranscodingBitrate>+ <MusicSyncBitrate>128000</MusicSyncBitrate>+ <XDlnaDoc>DMS-1.50</XDlnaDoc>+ <SonyAggregationFlags>10</SonyAggregationFlags>+ <ProtocolInfo>http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_HD_50_AC3;DLNA.ORG_OP=11;DLNA.ORG_FLAGS=01500000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_HD_50_AC3_T;DLNA.ORG_OP=11;DLNA.ORG_FLAGS=01500000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=AVC_TS_HD_50_AC3_ISO;DLNA.ORG_OP=11;DLNA.ORG_FLAGS=01500000000000000000000000000000,http-get:*:audio/mpeg:DLNA.ORG_PN=MP3;DLNA.ORG_OP=01;DLNA.ORG_FLAGS=01500000000000000000000000000000,http-get:*:audio/L16;rate=44100;channels=1:DLNA.ORG_PN=LPCM;DLNA.ORG_OP=01;DLNA.ORG_FLAGS=01500000000000000000000000000000,http-get:*:audio/L16;rate=44100;channels=2:DLNA.ORG_PN=LPCM;DLNA.ORG_OP=01;DLNA.ORG_FLAGS=01500000000000000000000000000000,http-get:*:audio/L16;rate=48000;channels=1:DLNA.ORG_PN=LPCM;DLNA.ORG_OP=01;DLNA.ORG_FLAGS=01500000000000000000000000000000,http-get:*:audio/L16;rate=48000;channels=2:DLNA.ORG_PN=LPCM;DLNA.ORG_OP=01;DLNA.ORG_FLAGS=01500000000000000000000000000000,http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMA_BASE;DLNA.ORG_OP=01;DLNA.ORG_FLAGS=01500000000000000000000000000000,http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMA_FULL;DLNA.ORG_OP=01;DLNA.ORG_FLAGS=01500000000000000000000000000000,http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_SM;DLNA.ORG_OP=00;DLNA.ORG_FLAGS=00D00000000000000000000000000000,http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_MED;DLNA.ORG_OP=00;DLNA.ORG_FLAGS=00D00000000000000000000000000000,http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_LRG;DLNA.ORG_OP=00;DLNA.ORG_FLAGS=00D00000000000000000000000000000,http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_TN;DLNA.ORG_OP=00;DLNA.ORG_FLAGS=00D00000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=MPEG1;DLNA.ORG_OP=11;DLNA.ORG_FLAGS=01500000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_PS_PAL;DLNA.ORG_OP=11;DLNA.ORG_FLAGS=01500000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_PS_NTSC;DLNA.ORG_OP=11;DLNA.ORG_FLAGS=01500000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_EU;DLNA.ORG_OP=11;DLNA.ORG_FLAGS=01500000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_EU_T;DLNA.ORG_OP=11;DLNA.ORG_FLAGS=01500000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_TS_SD_EU_ISO;DLNA.ORG_OP=11;DLNA.ORG_FLAGS=01500000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_NA;DLNA.ORG_OP=11;DLNA.ORG_FLAGS=01500000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_NA_T;DLNA.ORG_OP=11;DLNA.ORG_FLAGS=01500000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_TS_SD_NA_ISO;DLNA.ORG_OP=11;DLNA.ORG_FLAGS=01500000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_KO;DLNA.ORG_OP=11;DLNA.ORG_FLAGS=01500000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_KO_T;DLNA.ORG_OP=11;DLNA.ORG_FLAGS=01500000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_TS_SD_KO_ISO;DLNA.ORG_OP=11;DLNA.ORG_FLAGS=01500000000000000000000000000000,http-get:*:video/x-msvideo:DLNA.ORG_PN=AVI;DLNA.ORG_OP=11;DLNA.ORG_FLAGS=01500000000000000000000000000000,http-get:*:video/x-matroska:DLNA.ORG_PN=MATROSKA;DLNA.ORG_OP=11;DLNA.ORG_FLAGS=01500000000000000000000000000000,http-get:*:video/mp4:DLNA.ORG_PN=AVC_MP4_MP_SD_AAC_MULT5;DLNA.ORG_OP=11;DLNA.ORG_FLAGS=01500000000000000000000000000000,http-get:*:video/mp4:DLNA.ORG_PN=AVC_MP4_MP_SD_MPEG1_L3;DLNA.ORG_OP=11;DLNA.ORG_FLAGS=01500000000000000000000000000000,http-get:*:video/mp4:DLNA.ORG_PN=AVC_MP4_MP_SD_AC3;DLNA.ORG_OP=11;DLNA.ORG_FLAGS=01500000000000000000000000000000,http-get:*:video/mp4:DLNA.ORG_PN=AVC_MP4_MP_HD_720p_AAC;DLNA.ORG_OP=11;DLNA.ORG_FLAGS=01500000000000000000000000000000,http-get:*:video/mp4:DLNA.ORG_PN=AVC_MP4_MP_HD_1080i_AAC;DLNA.ORG_OP=11;DLNA.ORG_FLAGS=01500000000000000000000000000000,http-get:*:video/mp4:DLNA.ORG_PN=AVC_MP4_HP_HD_AAC;DLNA.ORG_OP=11;DLNA.ORG_FLAGS=01500000000000000000000000000000,http-get:*:video/mp4:DLNA.ORG_PN=AVC_MP4_LPCM;DLNA.ORG_OP=11;DLNA.ORG_FLAGS=01500000000000000000000000000000,http-get:*:video/mp4:DLNA.ORG_PN=MPEG4_P2_MP4_ASP_AAC;DLNA.ORG_OP=11;DLNA.ORG_FLAGS=01500000000000000000000000000000,http-get:*:video/mp4:DLNA.ORG_PN=MPEG4_P2_MP4_SP_L6_AAC;DLNA.ORG_OP=11;DLNA.ORG_FLAGS=01500000000000000000000000000000,http-get:*:video/mp4:DLNA.ORG_PN=MPEG4_P2_MP4_NDSD;DLNA.ORG_OP=11;DLNA.ORG_FLAGS=01500000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_MP_SD_AAC_MULT5;DLNA.ORG_OP=11;DLNA.ORG_FLAGS=01500000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_MP_SD_AAC_MULT5_T;DLNA.ORG_OP=11;DLNA.ORG_FLAGS=01500000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=AVC_TS_MP_SD_AAC_MULT5_ISO;DLNA.ORG_OP=11;DLNA.ORG_FLAGS=01500000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_MP_SD_MPEG1_L3;DLNA.ORG_OP=11;DLNA.ORG_FLAGS=01500000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_MP_SD_MPEG1_L3_T;DLNA.ORG_OP=11;DLNA.ORG_FLAGS=01500000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=AVC_TS_MP_SD_MPEG1_L3_ISO;DLNA.ORG_OP=11;DLNA.ORG_FLAGS=01500000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_MP_HD_AAC_MULT5;DLNA.ORG_OP=11;DLNA.ORG_FLAGS=01500000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_MP_HD_AAC_MULT5_T;DLNA.ORG_OP=11;DLNA.ORG_FLAGS=01500000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=AVC_TS_MP_HD_AAC_MULT5_ISO;DLNA.ORG_OP=11;DLNA.ORG_FLAGS=01500000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_MP_HD_MPEG1_L3;DLNA.ORG_OP=11;DLNA.ORG_FLAGS=01500000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_MP_HD_MPEG1_L3_T;DLNA.ORG_OP=11;DLNA.ORG_FLAGS=01500000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=AVC_TS_MP_HD_MPEG1_L3_ISO;DLNA.ORG_OP=11;DLNA.ORG_FLAGS=01500000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_HD_50_LPCM_T;DLNA.ORG_OP=11;DLNA.ORG_FLAGS=01500000000000000000000000000000,http-get:*:video/x-ms-wmv:DLNA.ORG_PN=WMVMED_BASE;DLNA.ORG_OP=11;DLNA.ORG_FLAGS=01500000000000000000000000000000,http-get:*:video/x-ms-wmv:DLNA.ORG_PN=WMVMED_FULL;DLNA.ORG_OP=11;DLNA.ORG_FLAGS=01500000000000000000000000000000,http-get:*:video/x-ms-wmv:DLNA.ORG_PN=WMVHIGH_FULL;DLNA.ORG_OP=11;DLNA.ORG_FLAGS=01500000000000000000000000000000,http-get:*:video/x-ms-wmv:DLNA.ORG_PN=WMVMED_PRO;DLNA.ORG_OP=11;DLNA.ORG_FLAGS=01500000000000000000000000000000,http-get:*:video/x-ms-wmv:DLNA.ORG_PN=WMVHIGH_PRO;DLNA.ORG_OP=11;DLNA.ORG_FLAGS=01500000000000000000000000000000,http-get:*:video/x-ms-asf:DLNA.ORG_PN=VC1_ASF_AP_L1_WMA;DLNA.ORG_OP=11;DLNA.ORG_FLAGS=01500000000000000000000000000000,http-get:*:video/x-ms-asf:DLNA.ORG_PN=VC1_ASF_AP_L2_WMA;DLNA.ORG_OP=11;DLNA.ORG_FLAGS=01500000000000000000000000000000,http-get:*:video/x-ms-asf:DLNA.ORG_PN=VC1_ASF_AP_L3_WMA;DLNA.ORG_OP=11;DLNA.ORG_FLAGS=01500000000000000000000000000000</ProtocolInfo>+ <TimelineOffsetSeconds>0</TimelineOffsetSeconds>+ <RequiresPlainVideoItems>false</RequiresPlainVideoItems>+ <RequiresPlainFolders>false</RequiresPlainFolders>+ <EnableMSMediaReceiverRegistrar>false</EnableMSMediaReceiverRegistrar>+ <IgnoreTranscodeByteRangeRequests>false</IgnoreTranscodeByteRangeRequests>+ <EnableDlnaProtocol>true</EnableDlnaProtocol>+ <XmlRootAttributes />+ <DirectPlayProfiles>+ <DirectPlayProfile container="avi" audioCodec="mp2,mp3" videoCodec="mpeg4" type="Video" />+ <DirectPlayProfile container="ts" audioCodec="ac3,mp2,mp3,aac" videoCodec="mpeg1video,mpeg2video,h264" type="Video" />+ <DirectPlayProfile container="mpeg" audioCodec="mp2" videoCodec="mpeg1video,mpeg2video" type="Video" />+ <DirectPlayProfile container="mp4,mkv" audioCodec="aac,ac3" videoCodec="h264,mpeg4" type="Video" />+ <DirectPlayProfile container="aac,mp3,wav" type="Audio" />+ <DirectPlayProfile container="jpeg,png,gif,bmp,tiff" type="Photo" />+ </DirectPlayProfiles>+ <TranscodingProfiles>+ <TranscodingProfile container="mp3" type="Audio" audioCodec="mp3" estimateContentLength="false" enableMpegtsM2TsMode="false" transcodeSeekInfo="Auto" context="Streaming" />+ <TranscodingProfile container="ts" type="Video" videoCodec="h264" audioCodec="mp3" estimateContentLength="false" enableMpegtsM2TsMode="false" transcodeSeekInfo="Auto" context="Streaming" />+ <TranscodingProfile container="jpeg" type="Photo" estimateContentLength="false" enableMpegtsM2TsMode="false" transcodeSeekInfo="Auto" context="Streaming" />+ </TranscodingProfiles>+ <ContainerProfiles>+ <ContainerProfile type="Photo">+ <Conditions>+ <ProfileCondition condition="LessThanEqual" property="Width" value="1920" isRequired="true" />+ <ProfileCondition condition="LessThanEqual" property="Height" value="1080" isRequired="true" />+ </Conditions>+ </ContainerProfile>+ </ContainerProfiles>+ <CodecProfiles>+ <CodecProfile type="Video" codec="h264">+ <Conditions>+ <ProfileCondition condition="LessThanEqual" property="Width" value="1920" isRequired="true" />+ <ProfileCondition condition="LessThanEqual" property="Height" value="1080" isRequired="true" />+ <ProfileCondition condition="LessThanEqual" property="VideoFramerate" value="30" isRequired="false" />+ <ProfileCondition condition="LessThanEqual" property="VideoBitrate" value="15360000" isRequired="false" />+ <ProfileCondition condition="LessThanEqual" property="VideoLevel" value="41" isRequired="false" />+ </Conditions>+ </CodecProfile>+ <CodecProfile type="VideoAudio" codec="ac3">+ <Conditions>+ <ProfileCondition condition="LessThanEqual" property="AudioChannels" value="6" isRequired="false" />+ <ProfileCondition condition="LessThanEqual" property="AudioBitrate" value="640000" isRequired="false" />+ </Conditions>+ </CodecProfile>+ <CodecProfile type="VideoAudio" codec="wmapro">+ <Conditions>+ <ProfileCondition condition="LessThanEqual" property="AudioChannels" value="2" isRequired="true" />+ </Conditions>+ </CodecProfile>+ <CodecProfile type="VideoAudio" codec="aac">+ <Conditions>+ <ProfileCondition condition="NotEquals" property="AudioProfile" value="he-aac" isRequired="false" />+ </Conditions>+ </CodecProfile>+ </CodecProfiles>+ <ResponseProfiles>+ <ResponseProfile container="mp4,mov" audioCodec="aac" type="Video" mimeType="video/mp4">+ <Conditions />+ </ResponseProfile>+ <ResponseProfile container="avi" type="Video" orgPn="AVI" mimeType="video/divx">+ <Conditions />+ </ResponseProfile>+ <ResponseProfile container="wav" type="Audio" mimeType="audio/wav">+ <Conditions />+ </ResponseProfile>+ </ResponseProfiles>+ <SubtitleProfiles />+</Profile>\ No newline at end of filediff --git a/MediaBrowser.Server.Implementations/Localization/Server/server.json b/MediaBrowser.Server.Implementations/Localization/Server/server.jsonindex 300b825250..e1bc8161d5 100644--- a/MediaBrowser.Server.Implementations/Localization/Server/server.json+++ b/MediaBrowser.Server.Implementations/Localization/Server/server.json@@ -1408,7 +1408,7 @@"HeaderUpcomingMovies": "Upcoming Movies","HeaderUpcomingSports": "Upcoming Sports","HeaderUpcomingPrograms": "Upcoming Programs",- "ButtonMoreItems": "More...",+ "ButtonMoreItems": "More","LabelShowLibraryTileNames": "Show library tile names","LabelShowLibraryTileNamesHelp": "Determines if labels will be displayed underneath library tiles on the home page","OptionEnableTranscodingThrottle": "Enable throttling",diff --git a/MediaBrowser.WebDashboard/Api/PackageCreator.cs b/MediaBrowser.WebDashboard/Api/PackageCreator.csindex abed47589f..542b3df676 100644--- a/MediaBrowser.WebDashboard/Api/PackageCreator.cs+++ b/MediaBrowser.WebDashboard/Api/PackageCreator.cs@@ -274,11 +274,14 @@ namespace MediaBrowser.WebDashboard.Apivar version = GetType().Assembly.GetName().Version;- var imports = new[]+ var imports = new string[]{- "thirdparty/polymer/polymer.html",+ //"thirdparty/polymer/polymer.html","thirdparty/paper-button/paper-button.html",- "thirdparty/iron-icons/iron-icons.html"+ "thirdparty/paper-toast/paper-toast.html",+ "thirdparty/paper-spinner/paper-spinner.html",+ //"thirdparty/paper-icon-button/paper-icon-button.html",+ //"thirdparty/iron-icons/iron-icons.html"};var importsHtml = string.Join("", imports.Select(i => "<link rel=\"import\" href=\"" + i + "\">").ToArray());@@ -342,7 +345,7 @@ namespace MediaBrowser.WebDashboard.Apiif (string.Equals(mode, "cordova", StringComparison.OrdinalIgnoreCase)){- sb.Append("<meta http-equiv=\"Content-Security-Policy\" content=\"default-src *; style-src 'self' 'unsafe-inline'; script-src 'self' 'unsafe-inline' 'unsafe-eval'\">");+ //sb.Append("<meta http-equiv=\"Content-Security-Policy\" content=\"default-src *; style-src 'self' 'unsafe-inline'; script-src 'self' 'unsafe-inline' 'unsafe-eval'\">");}sb.Append("<meta http-equiv=\"X-UA-Compatibility\" content=\"IE=Edge\">");diff --git a/MediaBrowser.WebDashboard/MediaBrowser.WebDashboard.csproj b/MediaBrowser.WebDashboard/MediaBrowser.WebDashboard.csprojindex ec81e91024..f4323ae2ea 100644--- a/MediaBrowser.WebDashboard/MediaBrowser.WebDashboard.csproj+++ b/MediaBrowser.WebDashboard/MediaBrowser.WebDashboard.csproj@@ -159,6 +159,9 @@<Content Include="dashboard-ui\thirdparty\cordova\wakeonlan.js"><CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory></Content>+ <Content Include="dashboard-ui\thirdparty\iron-a11y-announcer\iron-a11y-announcer.html">+ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>+ </Content><Content Include="dashboard-ui\thirdparty\iron-a11y-keys-behavior\iron-a11y-keys-behavior.html"><CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory></Content>@@ -201,6 +204,9 @@<Content Include="dashboard-ui\thirdparty\paper-button\paper-button.html"><CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory></Content>+ <Content Include="dashboard-ui\thirdparty\paper-icon-button\paper-icon-button.html">+ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>+ </Content><Content Include="dashboard-ui\thirdparty\paper-material\paper-material.html"><CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory></Content>@@ -210,6 +216,12 @@<Content Include="dashboard-ui\thirdparty\paper-ripple\paper-ripple.html"><CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory></Content>+ <Content Include="dashboard-ui\thirdparty\paper-spinner\paper-spinner.css">+ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>+ </Content>+ <Content Include="dashboard-ui\thirdparty\paper-spinner\paper-spinner.html">+ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>+ </Content><Content Include="dashboard-ui\thirdparty\paper-styles\classes\global.html"><CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory></Content>@@ -240,6 +252,9 @@<Content Include="dashboard-ui\thirdparty\paper-styles\typography.html"><CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory></Content>+ <Content Include="dashboard-ui\thirdparty\paper-toast\paper-toast.html">+ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>+ </Content><Content Include="dashboard-ui\thirdparty\polymer\LICENSE.txt"><CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory></Content>