mirror of
				https://github.com/jellyfin/jellyfin.git
				synced 2025-11-03 19:17:24 -05:00 
			
		
		
		
	xbox one dlna server fix
This commit is contained in:
		
							parent
							
								
									aecb8fb41f
								
							
						
					
					
						commit
						06b1896d8b
					
				@ -1700,7 +1700,8 @@ namespace MediaBrowser.Controller.Entities
 | 
				
			|||||||
                Name = Name,
 | 
					                Name = Name,
 | 
				
			||||||
                ProviderIds = ProviderIds,
 | 
					                ProviderIds = ProviderIds,
 | 
				
			||||||
                IndexNumber = IndexNumber,
 | 
					                IndexNumber = IndexNumber,
 | 
				
			||||||
                ParentIndexNumber = ParentIndexNumber
 | 
					                ParentIndexNumber = ParentIndexNumber,
 | 
				
			||||||
 | 
					                Year = ProductionYear
 | 
				
			||||||
            };
 | 
					            };
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -91,7 +91,7 @@ namespace MediaBrowser.Dlna.Profiles
 | 
				
			|||||||
                },
 | 
					                },
 | 
				
			||||||
                new DirectPlayProfile
 | 
					                new DirectPlayProfile
 | 
				
			||||||
                {
 | 
					                {
 | 
				
			||||||
                    Container = "3gpp",
 | 
					                    Container = "3gp",
 | 
				
			||||||
                    VideoCodec = "h264,mpeg4",
 | 
					                    VideoCodec = "h264,mpeg4",
 | 
				
			||||||
                    AudioCodec = "aac,he-aac",
 | 
					                    AudioCodec = "aac,he-aac",
 | 
				
			||||||
                    Type = DlnaProfileType.Video
 | 
					                    Type = DlnaProfileType.Video
 | 
				
			||||||
 | 
				
			|||||||
@ -16,7 +16,12 @@ namespace MediaBrowser.Dlna.Profiles
 | 
				
			|||||||
            Identification = new DeviceIdentification
 | 
					            Identification = new DeviceIdentification
 | 
				
			||||||
            {
 | 
					            {
 | 
				
			||||||
                ModelName = "Xbox One",
 | 
					                ModelName = "Xbox One",
 | 
				
			||||||
                FriendlyName = "Xbox-SystemOS"
 | 
					                FriendlyName = "Xbox-SystemOS",
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					                Headers = new[]
 | 
				
			||||||
 | 
					                {
 | 
				
			||||||
 | 
					                    new HttpHeaderInfo {Name = "User-Agent", Value = "NSPlayer", Match = HeaderMatchType.Substring}
 | 
				
			||||||
 | 
					                }
 | 
				
			||||||
            };
 | 
					            };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            TranscodingProfiles = new[]
 | 
					            TranscodingProfiles = new[]
 | 
				
			||||||
 | 
				
			|||||||
@ -42,7 +42,7 @@
 | 
				
			|||||||
    <DirectPlayProfile container="avi" audioCodec="mp3,ac3,dca" videoCodec="h264,mpeg4,mjpeg" type="Video" />
 | 
					    <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="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="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="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="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" />
 | 
					    <DirectPlayProfile container="ts" audioCodec="ac3,aac,mp3,eac3" videoCodec="mpeg2video,h264,vc1" type="Video" />
 | 
				
			||||||
 | 
				
			|||||||
@ -4,7 +4,9 @@
 | 
				
			|||||||
  <Identification>
 | 
					  <Identification>
 | 
				
			||||||
    <FriendlyName>Xbox-SystemOS</FriendlyName>
 | 
					    <FriendlyName>Xbox-SystemOS</FriendlyName>
 | 
				
			||||||
    <ModelName>Xbox One</ModelName>
 | 
					    <ModelName>Xbox One</ModelName>
 | 
				
			||||||
    <Headers />
 | 
					    <Headers>
 | 
				
			||||||
 | 
					      <HttpHeaderInfo name="User-Agent" value="NSPlayer" match="Substring" />
 | 
				
			||||||
 | 
					    </Headers>
 | 
				
			||||||
  </Identification>
 | 
					  </Identification>
 | 
				
			||||||
  <FriendlyName>Media Browser</FriendlyName>
 | 
					  <FriendlyName>Media Browser</FriendlyName>
 | 
				
			||||||
  <Manufacturer>Media Browser</Manufacturer>
 | 
					  <Manufacturer>Media Browser</Manufacturer>
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user