From 5be60782ed812389b34f6286b26c9ad267651d7a Mon Sep 17 00:00:00 2001 From: Vasily Date: Mon, 6 Apr 2020 14:06:42 +0300 Subject: [PATCH] Fix support for attachments with baseURL set * Revert "Add baseURL to attachments" * This is properly handled by jellyfin-web#1020 --- 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 d74ec3ca63..0274db7d8e 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);