mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 19:37:55 +02:00
Merge pull request #2532 from MrTimscampi/attachment-baseurl
Add baseURL to attachments API url
This commit is contained in:
commit
2610bb2cc1
1 changed files with 2 additions and 1 deletions
|
@ -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 a new issue