From c249e15f488bbe673d3729cb8059d766dbd96c6a Mon Sep 17 00:00:00 2001 From: Vasily Date: Sun, 12 Apr 2020 23:37:34 +0300 Subject: [PATCH] Merge pull request #2782 from JustAMan/fix-ssa-delivery Fix support for attachments with baseURL set (cherry picked from commit 6386b9b1b99ac73056d871c3927df68989c92003) Signed-off-by: Joshua M. Boniface --- MediaBrowser.Api/Playback/MediaInfoService.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/MediaBrowser.Api/Playback/MediaInfoService.cs b/MediaBrowser.Api/Playback/MediaInfoService.cs index 08a7e534f9..a44e1720fe 100644 --- a/MediaBrowser.Api/Playback/MediaInfoService.cs +++ b/MediaBrowser.Api/Playback/MediaInfoService.cs @@ -573,8 +573,7 @@ namespace MediaBrowser.Api.Playback { attachment.DeliveryUrl = string.Format( CultureInfo.InvariantCulture, - "{0}/Videos/{1}/{2}/Attachments/{3}", - ServerConfigurationManager.Configuration.BaseUrl, + "/Videos/{0}/{1}/Attachments/{2}", item.Id, mediaSource.Id, attachment.Index);