diff options
| author | Cody Robibero <cody@robibe.ro> | 2021-09-26 08:14:36 -0600 |
|---|---|---|
| committer | Cody Robibero <cody@robibe.ro> | 2021-09-26 09:11:25 -0600 |
| commit | 9234e5bf80194e45acac25c60cb76f401bffaf96 (patch) | |
| tree | b28558007dde37a7b9c354b359cb956057653783 /Jellyfin.Api/Controllers/SubtitleController.cs | |
| parent | 82cb6851786d4fb24952d77d869f9e9c005a960a (diff) | |
Remove all instances of en-US culture
Diffstat (limited to 'Jellyfin.Api/Controllers/SubtitleController.cs')
| -rw-r--r-- | Jellyfin.Api/Controllers/SubtitleController.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Api/Controllers/SubtitleController.cs b/Jellyfin.Api/Controllers/SubtitleController.cs index 11f67ee89..1849dd047 100644 --- a/Jellyfin.Api/Controllers/SubtitleController.cs +++ b/Jellyfin.Api/Controllers/SubtitleController.cs @@ -376,7 +376,7 @@ namespace Jellyfin.Api.Controllers var endPositionTicks = Math.Min(runtime, positionTicks + segmentLengthTicks); var url = string.Format( - CultureInfo.CurrentCulture, + CultureInfo.InvariantCulture, "stream.vtt?CopyTimestamps=true&AddVttTimeMap=true&StartPositionTicks={0}&EndPositionTicks={1}&api_key={2}", positionTicks.ToString(CultureInfo.InvariantCulture), endPositionTicks.ToString(CultureInfo.InvariantCulture), |
