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 new FileContentResult(Encoding.UTF8.GetBytes(playlist), MimeTypes.GetMimeType("playlist.m3u8"));
|
||||
return Content(playlist, MimeTypes.GetMimeType("playlist.m3u8"), Encoding.UTF8);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
Loading…
Reference in New Issue
Block a user