aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Controllers/SubtitleController.cs
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2021-09-26 17:52:34 +0200
committerGitHub <noreply@github.com>2021-09-26 17:52:34 +0200
commit837d8feddc0264d1a704f76f1c08ed360803c032 (patch)
treeb28558007dde37a7b9c354b359cb956057653783 /Jellyfin.Api/Controllers/SubtitleController.cs
parent82cb6851786d4fb24952d77d869f9e9c005a960a (diff)
parent9234e5bf80194e45acac25c60cb76f401bffaf96 (diff)
Merge pull request #6616 from crobibero/culture-info
Diffstat (limited to 'Jellyfin.Api/Controllers/SubtitleController.cs')
-rw-r--r--Jellyfin.Api/Controllers/SubtitleController.cs2
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),