diff options
| author | Vasily <just.one.man@yandex.ru> | 2020-04-06 14:06:42 +0300 |
|---|---|---|
| committer | Vasily <just.one.man@yandex.ru> | 2020-04-06 14:06:42 +0300 |
| commit | 5be60782ed812389b34f6286b26c9ad267651d7a (patch) | |
| tree | 862895bfb347ddd3a196b1521dfb050a1b1db4b4 | |
| parent | 0cd7cd611e6118b8dac31cf3c6861509f2b33c56 (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.cs | 3 |
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); |
