mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-30 20:38:27 +01:00
update closing of streams
This commit is contained in:
@@ -1861,14 +1861,14 @@ namespace MediaBrowser.Api.Playback
|
||||
MediaSourceInfo mediaSource = null;
|
||||
if (string.IsNullOrWhiteSpace(request.LiveStreamId))
|
||||
{
|
||||
//TranscodingJob currentJob = !string.IsNullOrWhiteSpace(request.PlaySessionId) ?
|
||||
// ApiEntryPoint.Instance.GetTranscodingJob(request.PlaySessionId)
|
||||
// : null;
|
||||
TranscodingJob currentJob = !string.IsNullOrWhiteSpace(request.PlaySessionId) ?
|
||||
ApiEntryPoint.Instance.GetTranscodingJob(request.PlaySessionId)
|
||||
: null;
|
||||
|
||||
//if (currentJob != null)
|
||||
//{
|
||||
// mediaSource = currentJob.MediaSource;
|
||||
//}
|
||||
if (currentJob != null)
|
||||
{
|
||||
mediaSource = currentJob.MediaSource;
|
||||
}
|
||||
|
||||
if (mediaSource == null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user