Fix support for attachments with baseURL set

* Revert "Add baseURL to attachments"
* This is properly handled by jellyfin-web#1020
This commit is contained in:
Vasily 2020-04-06 14:06:42 +03:00
parent 0cd7cd611e
commit 5be60782ed

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