mirror of
				https://github.com/jellyfin/jellyfin.git
				synced 2025-11-04 03:27:21 -05:00 
			
		
		
		
	Avoid unnecessary string -> byte[] conversion (Bond-009)
This commit is contained in:
		
							parent
							
								
									f97e844c4f
								
							
						
					
					
						commit
						c7feea27fd
					
				@ -61,7 +61,7 @@ public class TrickplayController : BaseJellyfinApiController
 | 
				
			|||||||
            return NotFound();
 | 
					            return NotFound();
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        return new FileContentResult(Encoding.UTF8.GetBytes(playlist), MimeTypes.GetMimeType("playlist.m3u8"));
 | 
					        return Content(playlist, MimeTypes.GetMimeType("playlist.m3u8"), Encoding.UTF8);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    /// <summary>
 | 
					    /// <summary>
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user