mirror of
				https://github.com/jellyfin/jellyfin.git
				synced 2025-11-04 02:01:28 +01:00 
			
		
		
		
	Reformat JustAMan review second pass changes.
This commit is contained in:
		
							parent
							
								
									d116efe1f7
								
							
						
					
					
						commit
						e63b18f17d
					
				@ -714,7 +714,7 @@ namespace Emby.Server.Implementations.HttpServer
 | 
				
			|||||||
            {
 | 
					            {
 | 
				
			||||||
                ifNoneMatchHeader = (ifNoneMatchHeader ?? string.Empty).Trim('\"');
 | 
					                ifNoneMatchHeader = (ifNoneMatchHeader ?? string.Empty).Trim('\"');
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                if (Guid.TryParse(ifNoneMatchHeader, out Guid ifNoneMatch)
 | 
					                if (Guid.TryParse(ifNoneMatchHeader, out var ifNoneMatch)
 | 
				
			||||||
                    && cacheKey.Equals(ifNoneMatch))
 | 
					                    && cacheKey.Equals(ifNoneMatch))
 | 
				
			||||||
                {
 | 
					                {
 | 
				
			||||||
                    return true;
 | 
					                    return true;
 | 
				
			||||||
 | 
				
			|||||||
@ -269,7 +269,7 @@ namespace Jellyfin.Server.Implementations.LiveTv.Listings
 | 
				
			|||||||
            string path = await GetXml(info.Path, CancellationToken.None).ConfigureAwait(false);
 | 
					            string path = await GetXml(info.Path, CancellationToken.None).ConfigureAwait(false);
 | 
				
			||||||
            _logger.LogDebug("Opening XmlTvReader for {path}", path);
 | 
					            _logger.LogDebug("Opening XmlTvReader for {path}", path);
 | 
				
			||||||
            var reader = new XmlTvReader(path, GetLanguage(info));
 | 
					            var reader = new XmlTvReader(path, GetLanguage(info));
 | 
				
			||||||
            var results = reader.GetChannels();
 | 
					            IEnumerable<XmlTvChannel> results = reader.GetChannels();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            // Should this method be async?
 | 
					            // Should this method be async?
 | 
				
			||||||
            return results.Select(c => new NameIdPair() { Id = c.Id, Name = c.DisplayName }).ToList();
 | 
					            return results.Select(c => new NameIdPair() { Id = c.Id, Name = c.DisplayName }).ToList();
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user