diff options
| author | Vasily <JustAMan@users.noreply.github.com> | 2020-04-12 23:37:34 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-12 23:37:34 +0300 |
| commit | 6386b9b1b99ac73056d871c3927df68989c92003 (patch) | |
| tree | 7a2123dce8c435571596ed50b77e9f4acec0deb3 | |
| parent | df74c7722b83c1b2d12c263f6811f5c2776eed70 (diff) | |
| parent | 5be60782ed812389b34f6286b26c9ad267651d7a (diff) | |
Merge pull request #2782 from JustAMan/fix-ssa-delivery
Fix support for attachments with baseURL set
| -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 2375e05d0..3638feaa3 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); |
