mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 05:47:14 -04:00
Merge pull request #2782 from JustAMan/fix-ssa-delivery
Fix support for attachments with baseURL set
This commit is contained in:
commit
6386b9b1b9
@ -572,8 +572,7 @@ namespace MediaBrowser.Api.Playback
|
|||||||
{
|
{
|
||||||
attachment.DeliveryUrl = string.Format(
|
attachment.DeliveryUrl = string.Format(
|
||||||
CultureInfo.InvariantCulture,
|
CultureInfo.InvariantCulture,
|
||||||
"{0}/Videos/{1}/{2}/Attachments/{3}",
|
"/Videos/{0}/{1}/Attachments/{2}",
|
||||||
ServerConfigurationManager.Configuration.BaseUrl,
|
|
||||||
item.Id,
|
item.Id,
|
||||||
mediaSource.Id,
|
mediaSource.Id,
|
||||||
attachment.Index);
|
attachment.Index);
|
||||||
|
Loading…
Reference in New Issue
Block a user