Merge pull request #2782 from JustAMan/fix-ssa-delivery

Fix support for attachments with baseURL set
This commit is contained in:
Vasily 2020-04-12 23:37:34 +03:00 committed by GitHub
commit 6386b9b1b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -572,8 +572,7 @@ namespace MediaBrowser.Api.Playback
{
attachment.DeliveryUrl = string.Format(
CultureInfo.InvariantCulture,
"{0}/Videos/{1}/{2}/Attachments/{3}",
ServerConfigurationManager.Configuration.BaseUrl,
"/Videos/{0}/{1}/Attachments/{2}",
item.Id,
mediaSource.Id,
attachment.Index);