mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-08 18:54:26 -04:00
Format attachment DeliveryURL with CultureInfo.InvariantCulture.
Co-Authored-By: Bond-009 <bond.009@outlook.com>
This commit is contained in:
parent
e5b65ed034
commit
a78aec56e3
@ -527,7 +527,9 @@ namespace MediaBrowser.Api.Playback
|
|||||||
|
|
||||||
foreach (var attachment in mediaSource.MediaAttachments)
|
foreach (var attachment in mediaSource.MediaAttachments)
|
||||||
{
|
{
|
||||||
attachment.DeliveryUrl = string.Format("/Videos/{0}/{1}/Attachments/{2}",
|
attachment.DeliveryUrl = string.Format(
|
||||||
|
CultureInfo.InvariantCulture,
|
||||||
|
"/Videos/{0}/{1}/Attachments/{2}",
|
||||||
item.Id,
|
item.Id,
|
||||||
mediaSource.Id,
|
mediaSource.Id,
|
||||||
attachment.Index);
|
attachment.Index);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user