xbox one dlna server fix
This commit is contained in:
parent
aecb8fb41f
commit
06b1896d8b
|
@ -1700,7 +1700,8 @@ namespace MediaBrowser.Controller.Entities
|
|||
Name = Name,
|
||||
ProviderIds = ProviderIds,
|
||||
IndexNumber = IndexNumber,
|
||||
ParentIndexNumber = ParentIndexNumber
|
||||
ParentIndexNumber = ParentIndexNumber,
|
||||
Year = ProductionYear
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
@ -91,7 +91,7 @@ namespace MediaBrowser.Dlna.Profiles
|
|||
},
|
||||
new DirectPlayProfile
|
||||
{
|
||||
Container = "3gpp",
|
||||
Container = "3gp",
|
||||
VideoCodec = "h264,mpeg4",
|
||||
AudioCodec = "aac,he-aac",
|
||||
Type = DlnaProfileType.Video
|
||||
|
|
|
@ -16,7 +16,12 @@ namespace MediaBrowser.Dlna.Profiles
|
|||
Identification = new DeviceIdentification
|
||||
{
|
||||
ModelName = "Xbox One",
|
||||
FriendlyName = "Xbox-SystemOS"
|
||||
FriendlyName = "Xbox-SystemOS",
|
||||
|
||||
Headers = new[]
|
||||
{
|
||||
new HttpHeaderInfo {Name = "User-Agent", Value = "NSPlayer", Match = HeaderMatchType.Substring}
|
||||
}
|
||||
};
|
||||
|
||||
TranscodingProfiles = new[]
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
<DirectPlayProfile container="avi" audioCodec="mp3,ac3,dca" videoCodec="h264,mpeg4,mjpeg" type="Video" />
|
||||
<DirectPlayProfile container="mkv" audioCodec="mp3,ac3,dca,aac" videoCodec="h264,mpeg4,mjpeg4" type="Video" />
|
||||
<DirectPlayProfile container="mp4" audioCodec="mp3,aac" videoCodec="h264,mpeg4" type="Video" />
|
||||
<DirectPlayProfile container="3gpp" audioCodec="aac,he-aac" videoCodec="h264,mpeg4" type="Video" />
|
||||
<DirectPlayProfile container="3gp" audioCodec="aac,he-aac" videoCodec="h264,mpeg4" type="Video" />
|
||||
<DirectPlayProfile container="mpg,mpeg" audioCodec="ac3,mp2,mp3,aac" videoCodec="mpeg1video,mpeg2video,h264" type="Video" />
|
||||
<DirectPlayProfile container="vro,vob" audioCodec="ac3,mp2,mp3" videoCodec="mpeg1video,mpeg2video" type="Video" />
|
||||
<DirectPlayProfile container="ts" audioCodec="ac3,aac,mp3,eac3" videoCodec="mpeg2video,h264,vc1" type="Video" />
|
||||
|
|
|
@ -4,7 +4,9 @@
|
|||
<Identification>
|
||||
<FriendlyName>Xbox-SystemOS</FriendlyName>
|
||||
<ModelName>Xbox One</ModelName>
|
||||
<Headers />
|
||||
<Headers>
|
||||
<HttpHeaderInfo name="User-Agent" value="NSPlayer" match="Substring" />
|
||||
</Headers>
|
||||
</Identification>
|
||||
<FriendlyName>Media Browser</FriendlyName>
|
||||
<Manufacturer>Media Browser</Manufacturer>
|
||||
|
|
Loading…
Reference in New Issue
Block a user