mirror of
				https://github.com/jellyfin/jellyfin.git
				synced 2025-11-03 19:17:24 -05:00 
			
		
		
		
	Merge pull request #7634 from neilsb/patch-1
Correct LocalTrailerCount in API
This commit is contained in:
		
						commit
						fcb65ac38d
					
				@ -1094,7 +1094,7 @@ namespace Emby.Server.Implementations.Dto
 | 
			
		||||
            {
 | 
			
		||||
                if (item is IHasTrailers hasTrailers)
 | 
			
		||||
                {
 | 
			
		||||
                    dto.LocalTrailerCount = hasTrailers.GetTrailerCount();
 | 
			
		||||
                    dto.LocalTrailerCount = hasTrailers.LocalTrailers.Count;
 | 
			
		||||
                }
 | 
			
		||||
                else
 | 
			
		||||
                {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user