aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVasily <just.one.man@yandex.ru>2020-04-06 14:06:42 +0300
committerVasily <just.one.man@yandex.ru>2020-04-06 14:06:42 +0300
commit5be60782ed812389b34f6286b26c9ad267651d7a (patch)
tree862895bfb347ddd3a196b1521dfb050a1b1db4b4
parent0cd7cd611e6118b8dac31cf3c6861509f2b33c56 (diff)
Fix support for attachments with baseURL set
* Revert "Add baseURL to attachments" * This is properly handled by jellyfin-web#1020
-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 d74ec3ca6..0274db7d8 100644
--- a/MediaBrowser.Api/Playback/MediaInfoService.cs
+++ b/MediaBrowser.Api/Playback/MediaInfoService.cs
@@ -572,8 +572,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);