Enable path mapping in PlaybackInfo endpoint

This commit is contained in:
Denis 2020-01-17 22:48:28 +03:00 committed by GitHub
parent 8e71046a3c
commit 549a2d8b6d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -275,7 +275,7 @@ namespace MediaBrowser.Api.Playback
{ {
// TODO handle supportedLiveMediaTypes? // TODO handle supportedLiveMediaTypes?
var mediaSourcesList = await _mediaSourceManager.GetPlaybackMediaSources(item, user, true, false, CancellationToken.None).ConfigureAwait(false); var mediaSourcesList = await _mediaSourceManager.GetPlaybackMediaSources(item, user, true, true, CancellationToken.None).ConfigureAwait(false);
if (string.IsNullOrWhiteSpace(mediaSourceId)) if (string.IsNullOrWhiteSpace(mediaSourceId))
{ {