diff options
| author | Andrew Mahone <andrew.mahone@gmail.com> | 2019-11-05 08:21:06 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-11-05 08:21:06 -0500 |
| commit | a78aec56e357742c2906edbb1fcce47cb9a3c6dd (patch) | |
| tree | 136417499bb7666b0c79a81c585ef5262aa73122 | |
| parent | e5b65ed034c6ca0fcee9f73cc991a0962a44278f (diff) | |
Format attachment DeliveryURL with CultureInfo.InvariantCulture.
Co-Authored-By: Bond-009 <bond.009@outlook.com>
| -rw-r--r-- | MediaBrowser.Api/Playback/MediaInfoService.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/MediaBrowser.Api/Playback/MediaInfoService.cs b/MediaBrowser.Api/Playback/MediaInfoService.cs index de5c4ddb7..296d565b9 100644 --- a/MediaBrowser.Api/Playback/MediaInfoService.cs +++ b/MediaBrowser.Api/Playback/MediaInfoService.cs @@ -527,7 +527,9 @@ namespace MediaBrowser.Api.Playback 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, mediaSource.Id, attachment.Index); |
