The Free Software Media System - Server Backend & API
Correct DLNA audio codecs for PS3 and PS4
nyanmisaka7c3f2e7c5999
diff --git a/Emby.Dlna/Profiles/SonyPs3Profile.cs b/Emby.Dlna/Profiles/SonyPs3Profile.csindex d56b1df507..e4a7a3a596 100644--- a/Emby.Dlna/Profiles/SonyPs3Profile.cs+++ b/Emby.Dlna/Profiles/SonyPs3Profile.cs@@ -52,7 +52,7 @@ namespace Emby.Dlna.ProfilesContainer = "ts,mpegts",Type = DlnaProfileType.Video,VideoCodec = "mpeg1video,mpeg2video,h264",- AudioCodec = "ac3,mp2,mp3,aac"+ AudioCodec = "aac,ac3,mp2"},new DirectPlayProfile{@@ -92,7 +92,7 @@ namespace Emby.Dlna.Profiles{Container = "ts",VideoCodec = "h264",- AudioCodec = "ac3,aac,mp3",+ AudioCodec = "aac,ac3,mp2",Type = DlnaProfileType.Video},new TranscodingProfilediff --git a/Emby.Dlna/Profiles/SonyPs4Profile.cs b/Emby.Dlna/Profiles/SonyPs4Profile.csindex db56094e2b..985df0c9a5 100644--- a/Emby.Dlna/Profiles/SonyPs4Profile.cs+++ b/Emby.Dlna/Profiles/SonyPs4Profile.cs@@ -52,7 +52,7 @@ namespace Emby.Dlna.ProfilesContainer = "ts,mpegts",Type = DlnaProfileType.Video,VideoCodec = "mpeg1video,mpeg2video,h264",- AudioCodec = "ac3,mp2,mp3,aac"+ AudioCodec = "aac,ac3,mp2"},new DirectPlayProfile{@@ -94,7 +94,7 @@ namespace Emby.Dlna.Profiles{Container = "ts",VideoCodec = "h264",- AudioCodec = "mp3",+ AudioCodec = "aac,ac3,mp2",Type = DlnaProfileType.Video},new TranscodingProfilediff --git a/Emby.Dlna/Profiles/Xml/Sony PlayStation 3.xml b/Emby.Dlna/Profiles/Xml/Sony PlayStation 3.xmlindex bafa44b828..129b188e2a 100644--- a/Emby.Dlna/Profiles/Xml/Sony PlayStation 3.xml+++ b/Emby.Dlna/Profiles/Xml/Sony PlayStation 3.xml@@ -38,7 +38,7 @@<XmlRootAttributes /><DirectPlayProfiles><DirectPlayProfile container="avi" audioCodec="mp2,mp3" videoCodec="mpeg4" type="Video" />- <DirectPlayProfile container="ts,mpegts" audioCodec="ac3,mp2,mp3,aac" videoCodec="mpeg1video,mpeg2video,h264" type="Video" />+ <DirectPlayProfile container="ts,mpegts" audioCodec="aac,ac3,mp2" videoCodec="mpeg1video,mpeg2video,h264" type="Video" /><DirectPlayProfile container="mpeg" audioCodec="mp2" videoCodec="mpeg1video,mpeg2video" type="Video" /><DirectPlayProfile container="mp4" audioCodec="aac,ac3" videoCodec="h264,mpeg4" type="Video" /><DirectPlayProfile container="aac,mp3,wav" type="Audio" />@@ -46,7 +46,7 @@</DirectPlayProfiles><TranscodingProfiles><TranscodingProfile container="mp3" type="Audio" audioCodec="mp3" estimateContentLength="false" enableMpegtsM2TsMode="false" transcodeSeekInfo="Auto" copyTimestamps="false" context="Streaming" enableSubtitlesInManifest="false" minSegments="0" segmentLength="0" breakOnNonKeyFrames="false" />- <TranscodingProfile container="ts" type="Video" videoCodec="h264" audioCodec="ac3,aac,mp3" estimateContentLength="false" enableMpegtsM2TsMode="false" transcodeSeekInfo="Auto" copyTimestamps="false" context="Streaming" enableSubtitlesInManifest="false" minSegments="0" segmentLength="0" breakOnNonKeyFrames="false" />+ <TranscodingProfile container="ts" type="Video" videoCodec="h264" audioCodec="aac,ac3,mp2" estimateContentLength="false" enableMpegtsM2TsMode="false" transcodeSeekInfo="Auto" copyTimestamps="false" context="Streaming" enableSubtitlesInManifest="false" minSegments="0" segmentLength="0" breakOnNonKeyFrames="false" /><TranscodingProfile container="jpeg" type="Photo" estimateContentLength="false" enableMpegtsM2TsMode="false" transcodeSeekInfo="Auto" copyTimestamps="false" context="Streaming" enableSubtitlesInManifest="false" minSegments="0" segmentLength="0" breakOnNonKeyFrames="false" /></TranscodingProfiles><ContainerProfiles>diff --git a/Emby.Dlna/Profiles/Xml/Sony PlayStation 4.xml b/Emby.Dlna/Profiles/Xml/Sony PlayStation 4.xmlindex eb8e645b31..592119305e 100644--- a/Emby.Dlna/Profiles/Xml/Sony PlayStation 4.xml+++ b/Emby.Dlna/Profiles/Xml/Sony PlayStation 4.xml@@ -38,7 +38,7 @@<XmlRootAttributes /><DirectPlayProfiles><DirectPlayProfile container="avi" audioCodec="mp2,mp3" videoCodec="mpeg4" type="Video" />- <DirectPlayProfile container="ts,mpegts" audioCodec="ac3,mp2,mp3,aac" videoCodec="mpeg1video,mpeg2video,h264" type="Video" />+ <DirectPlayProfile container="ts,mpegts" audioCodec="aac,ac3,mp2" videoCodec="mpeg1video,mpeg2video,h264" type="Video" /><DirectPlayProfile container="mpeg" audioCodec="mp2" videoCodec="mpeg1video,mpeg2video" type="Video" /><DirectPlayProfile container="mp4,mkv,m4v" audioCodec="aac,ac3" videoCodec="h264,mpeg4" type="Video" /><DirectPlayProfile container="aac,mp3,wav" type="Audio" />@@ -46,7 +46,7 @@</DirectPlayProfiles><TranscodingProfiles><TranscodingProfile container="mp3" type="Audio" audioCodec="mp3" estimateContentLength="false" enableMpegtsM2TsMode="false" transcodeSeekInfo="Bytes" copyTimestamps="false" context="Streaming" enableSubtitlesInManifest="false" minSegments="0" segmentLength="0" breakOnNonKeyFrames="false" />- <TranscodingProfile container="ts" type="Video" videoCodec="h264" audioCodec="mp3" estimateContentLength="false" enableMpegtsM2TsMode="false" transcodeSeekInfo="Auto" copyTimestamps="false" context="Streaming" enableSubtitlesInManifest="false" minSegments="0" segmentLength="0" breakOnNonKeyFrames="false" />+ <TranscodingProfile container="ts" type="Video" videoCodec="h264" audioCodec="aac,ac3,mp2" estimateContentLength="false" enableMpegtsM2TsMode="false" transcodeSeekInfo="Auto" copyTimestamps="false" context="Streaming" enableSubtitlesInManifest="false" minSegments="0" segmentLength="0" breakOnNonKeyFrames="false" /><TranscodingProfile container="jpeg" type="Photo" estimateContentLength="false" enableMpegtsM2TsMode="false" transcodeSeekInfo="Auto" copyTimestamps="false" context="Streaming" enableSubtitlesInManifest="false" minSegments="0" segmentLength="0" breakOnNonKeyFrames="false" /></TranscodingProfiles><ContainerProfiles>