Update PlayToController.cs

This commit is contained in:
BaronGreenback 2020-09-25 17:25:50 +01:00 committed by GitHub
parent 4c6b60d69d
commit a9864368c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -886,7 +886,10 @@ namespace Emby.Dlna.PlayTo
return null; return null;
} }
if (_mediaSourceManager != null)
{
mediaSource = await _mediaSourceManager.GetMediaSource(Item, MediaSourceId, LiveStreamId, false, cancellationToken).ConfigureAwait(false); mediaSource = await _mediaSourceManager.GetMediaSource(Item, MediaSourceId, LiveStreamId, false, cancellationToken).ConfigureAwait(false);
}
return mediaSource; return mediaSource;
} }