Procházet zdrojové kódy

Enable path mapping in `PlaybackInfo` endpoint

Denis před 6 roky
rodič
revize
549a2d8b6d
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      MediaBrowser.Api/Playback/MediaInfoService.cs

+ 1 - 1
MediaBrowser.Api/Playback/MediaInfoService.cs

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