Merge pull request #2295 from shemanaev/patch-1

Enable path mapping in `PlaybackInfo` endpoint
This commit is contained in:
dkanada 2020-01-21 19:20:14 +09:00 committed by GitHub
commit 4abcbc66be
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))
{ {