mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
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:
parent
0cd7cd611e
commit
5be60782ed
@ -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…
x
Reference in New Issue
Block a user