Add baseURL to attachments
This commit is contained in:
parent
f3db3cacf6
commit
e8c593f413
|
@ -573,7 +573,8 @@ namespace MediaBrowser.Api.Playback
|
||||||
{
|
{
|
||||||
attachment.DeliveryUrl = string.Format(
|
attachment.DeliveryUrl = string.Format(
|
||||||
CultureInfo.InvariantCulture,
|
CultureInfo.InvariantCulture,
|
||||||
"/Videos/{0}/{1}/Attachments/{2}",
|
"{0}/Videos/{1}/{2}/Attachments/{3}",
|
||||||
|
ServerConfigurationManager.Configuration.BaseUrl,
|
||||||
item.Id,
|
item.Id,
|
||||||
mediaSource.Id,
|
mediaSource.Id,
|
||||||
attachment.Index);
|
attachment.Index);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user