diff options
| author | Joshua M. Boniface <joshua@boniface.me> | 2020-03-07 12:21:01 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-03-07 12:21:01 -0500 |
| commit | 2610bb2cc189e9b330421895c988ac6cbb518d36 (patch) | |
| tree | 46b0d34d35b5c75ea7b0942399ce4b148cd438a6 | |
| parent | f3db3cacf6c5ee66128305154daaeaca09de9cb2 (diff) | |
| parent | e8c593f413f0856934f446db2cc8aca3693df818 (diff) | |
Merge pull request #2532 from MrTimscampi/attachment-baseurl
Add baseURL to attachments API url
| -rw-r--r-- | MediaBrowser.Api/Playback/MediaInfoService.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/MediaBrowser.Api/Playback/MediaInfoService.cs b/MediaBrowser.Api/Playback/MediaInfoService.cs index a44e1720f..08a7e534f 100644 --- a/MediaBrowser.Api/Playback/MediaInfoService.cs +++ b/MediaBrowser.Api/Playback/MediaInfoService.cs @@ -573,7 +573,8 @@ namespace MediaBrowser.Api.Playback { attachment.DeliveryUrl = string.Format( CultureInfo.InvariantCulture, - "/Videos/{0}/{1}/Attachments/{2}", + "{0}/Videos/{1}/{2}/Attachments/{3}", + ServerConfigurationManager.Configuration.BaseUrl, item.Id, mediaSource.Id, attachment.Index); |
