mirror of
				https://github.com/jellyfin/jellyfin.git
				synced 2025-11-03 19:17:24 -05:00 
			
		
		
		
	add all subtitles to hls manifest
This commit is contained in:
		
							parent
							
								
									0ccbaf025a
								
							
						
					
					
						commit
						8cce9d5f6f
					
				@ -525,7 +525,7 @@ namespace MediaBrowser.Api.Playback.Hls
 | 
			
		||||
 | 
			
		||||
            var subtitleGroup = subtitleStreams.Count > 0 &&
 | 
			
		||||
                request is GetMasterHlsVideoPlaylist &&
 | 
			
		||||
                ((GetMasterHlsVideoPlaylist)request).SubtitleMethod == SubtitleDeliveryMethod.Hls ?
 | 
			
		||||
                (((GetMasterHlsVideoPlaylist)request).SubtitleMethod == SubtitleDeliveryMethod.Hls || ((GetMasterHlsVideoPlaylist)request).EnableSubtitlesInManifest) ?
 | 
			
		||||
                "subs" :
 | 
			
		||||
                null;
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -194,6 +194,8 @@ namespace MediaBrowser.Api.Playback
 | 
			
		||||
 | 
			
		||||
        public bool ForceLiveStream { get; set; }
 | 
			
		||||
 | 
			
		||||
        public bool EnableSubtitlesInManifest { get; set; }
 | 
			
		||||
 | 
			
		||||
        public VideoStreamRequest()
 | 
			
		||||
        {
 | 
			
		||||
            EnableAutoStreamCopy = true;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user