diff options
| author | MrTimscampi <julien.machiels@protonmail.com> | 2020-03-07 17:39:55 +0100 |
|---|---|---|
| committer | MrTimscampi <julien.machiels@protonmail.com> | 2020-03-07 17:41:36 +0100 |
| commit | e8c593f413f0856934f446db2cc8aca3693df818 (patch) | |
| tree | 46b0d34d35b5c75ea7b0942399ce4b148cd438a6 | |
| parent | f3db3cacf6c5ee66128305154daaeaca09de9cb2 (diff) | |
Add baseURL to attachments
| -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); |
