mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-05-24 02:02:29 -04:00
Missing linebreaks that Rider apparently can't just do for me?
This commit is contained in:
parent
ff328fefc5
commit
ae0055c494
@ -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")!);
|
||||
|
@ -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"));
|
||||
|
Loading…
x
Reference in New Issue
Block a user