mirror of
				https://github.com/jellyfin/jellyfin.git
				synced 2025-11-04 03:27:21 -05:00 
			
		
		
		
	Don't include new internal MediaStream properties in api spec (#12288)
This commit is contained in:
		
							parent
							
								
									f1f97186ba
								
							
						
					
					
						commit
						042d3e3f93
					
				@ -7,6 +7,7 @@ using System.ComponentModel;
 | 
				
			|||||||
using System.Globalization;
 | 
					using System.Globalization;
 | 
				
			||||||
using System.Linq;
 | 
					using System.Linq;
 | 
				
			||||||
using System.Text;
 | 
					using System.Text;
 | 
				
			||||||
 | 
					using System.Text.Json.Serialization;
 | 
				
			||||||
using Jellyfin.Data.Enums;
 | 
					using Jellyfin.Data.Enums;
 | 
				
			||||||
using Jellyfin.Extensions;
 | 
					using Jellyfin.Extensions;
 | 
				
			||||||
using MediaBrowser.Model.Dlna;
 | 
					using MediaBrowser.Model.Dlna;
 | 
				
			||||||
@ -585,6 +586,7 @@ namespace MediaBrowser.Model.Entities
 | 
				
			|||||||
            }
 | 
					            }
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        [JsonIgnore]
 | 
				
			||||||
        public bool IsPgsSubtitleStream
 | 
					        public bool IsPgsSubtitleStream
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
            get
 | 
					            get
 | 
				
			||||||
@ -608,6 +610,7 @@ namespace MediaBrowser.Model.Entities
 | 
				
			|||||||
        /// All text-based and pgs subtitles can be extracted.
 | 
					        /// All text-based and pgs subtitles can be extracted.
 | 
				
			||||||
        /// </summary>
 | 
					        /// </summary>
 | 
				
			||||||
        /// <value><c>true</c> if this is a extractable subtitle steam otherwise, <c>false</c>.</value>
 | 
					        /// <value><c>true</c> if this is a extractable subtitle steam otherwise, <c>false</c>.</value>
 | 
				
			||||||
 | 
					        [JsonIgnore]
 | 
				
			||||||
        public bool IsExtractableSubtitleStream => IsTextSubtitleStream || IsPgsSubtitleStream;
 | 
					        public bool IsExtractableSubtitleStream => IsTextSubtitleStream || IsPgsSubtitleStream;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        /// <summary>
 | 
					        /// <summary>
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user