Missing linebreaks that Rider apparently can't just do for me?

This commit is contained in:
cvium 2021-09-10 13:09:24 +02:00
parent ff328fefc5
commit ae0055c494
2 changed files with 2 additions and 0 deletions

View File

@ -458,6 +458,7 @@ namespace Jellyfin.Api.Controllers
{
return NotFound();
}
var liveStream = new ProgressiveFileStream(liveStreamInfo.GetStream());
// TODO (moved from MediaBrowser.Api): Don't hardcode contentType
return File(liveStream, MimeTypes.GetMimeType("file.ts")!);

View File

@ -126,6 +126,7 @@ namespace Jellyfin.Api.Helpers
{
throw new FileNotFoundException();
}
var liveStream = new ProgressiveFileStream(liveStreamInfo.GetStream());
// TODO (moved from MediaBrowser.Api): Don't hardcode contentType
return new FileStreamResult(liveStream, MimeTypes.GetMimeType("file.ts"));