mirror of
				https://github.com/jellyfin/jellyfin.git
				synced 2025-11-04 03:27:21 -05:00 
			
		
		
		
	Reduce indentation
This commit is contained in:
		
							parent
							
								
									e1f7f1405e
								
							
						
					
					
						commit
						37a04d5dbf
					
				@ -331,9 +331,7 @@ namespace Emby.Dlna.ContentDirectory
 | 
			
		||||
 | 
			
		||||
            int totalCount;
 | 
			
		||||
 | 
			
		||||
            using (StringWriter builder = new StringWriterWithEncoding(Encoding.UTF8))
 | 
			
		||||
            {
 | 
			
		||||
                var settings = new XmlWriterSettings()
 | 
			
		||||
            var settings = new XmlWriterSettings
 | 
			
		||||
            {
 | 
			
		||||
                Encoding = Encoding.UTF8,
 | 
			
		||||
                CloseOutput = false,
 | 
			
		||||
@ -341,6 +339,7 @@ namespace Emby.Dlna.ContentDirectory
 | 
			
		||||
                ConformanceLevel = ConformanceLevel.Fragment
 | 
			
		||||
            };
 | 
			
		||||
 | 
			
		||||
            using (StringWriter builder = new StringWriterWithEncoding(Encoding.UTF8))
 | 
			
		||||
            using (var writer = XmlWriter.Create(builder, settings))
 | 
			
		||||
            {
 | 
			
		||||
                writer.WriteStartElement(string.Empty, "DIDL-Lite", NsDidl);
 | 
			
		||||
@ -398,8 +397,6 @@ namespace Emby.Dlna.ContentDirectory
 | 
			
		||||
                }
 | 
			
		||||
 | 
			
		||||
                writer.WriteFullEndElement();
 | 
			
		||||
                }
 | 
			
		||||
 | 
			
		||||
                xmlWriter.WriteElementString("Result", builder.ToString());
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user