Fix support for attachments with baseURL set

* Revert "Add baseURL to attachments"
* This is properly handled by jellyfin-web#1020
pull/2782/head
Vasily 5 years ago
parent 0cd7cd611e
commit 5be60782ed

@ -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);

Loading…
Cancel
Save