mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Merge pull request #2782 from JustAMan/fix-ssa-delivery
Fix support for attachments with baseURL set (cherry picked from commit 6386b9b1b99ac73056d871c3927df68989c92003) Signed-off-by: Joshua M. Boniface <joshua@boniface.me>
This commit is contained in:
parent
48ba5a9a30
commit
c249e15f48
@ -573,8 +573,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…
x
Reference in New Issue
Block a user