Merge pull request #2295 from shemanaev/patch-1

Enable path mapping in `PlaybackInfo` endpoint
pull/2321/head
dkanada 5 years ago committed by GitHub
commit 4abcbc66be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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))
{ {

Loading…
Cancel
Save