mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-23 01:05:19 +03:00
Missing linebreaks that Rider apparently can't just do for me?
This commit is contained in:
@@ -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"));
|
||||
|
||||
Reference in New Issue
Block a user