Merge pull request #2532 from MrTimscampi/attachment-baseurl

Add baseURL to attachments API url
pull/2535/head
Joshua M. Boniface 5 years ago committed by GitHub
commit 2610bb2cc1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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);

Loading…
Cancel
Save