aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVasily <JustAMan@users.noreply.github.com>2020-04-12 23:37:34 +0300
committerJoshua M. Boniface <joshua@boniface.me>2020-04-12 16:51:11 -0400
commitc249e15f488bbe673d3729cb8059d766dbd96c6a (patch)
treebd404e7b1f9635f29b0bffcad7eca3c635db8a1b
parent48ba5a9a302d43d64b40ea4a1561fea3a3b602f8 (diff)
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 <joshua@boniface.me>
-rw-r--r--MediaBrowser.Api/Playback/MediaInfoService.cs3
1 files changed, 1 insertions, 2 deletions
diff --git a/MediaBrowser.Api/Playback/MediaInfoService.cs b/MediaBrowser.Api/Playback/MediaInfoService.cs
index 08a7e534f..a44e1720f 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);