diff options
| author | Niels van Velzen <nielsvanvelzen@users.noreply.github.com> | 2025-01-11 17:35:44 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-11 09:35:44 -0700 |
| commit | 3b8e614819b51c2acf73f95874dfe881f5146404 (patch) | |
| tree | 153059e760287198f42e1720883b5c120014f237 /Jellyfin.Api/Controllers/SubtitleController.cs | |
| parent | 17bbe4a2cd7f7c7cdcd4a2ce06e9e076c616d7ae (diff) | |
Prefer ApiKey over api_key in generated URL's (#13342)
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 9da1dce93..e5df873f5 100644 --- a/Jellyfin.Api/Controllers/SubtitleController.cs +++ b/Jellyfin.Api/Controllers/SubtitleController.cs @@ -395,7 +395,7 @@ public class SubtitleController : BaseJellyfinApiController var url = string.Format( CultureInfo.InvariantCulture, - "stream.vtt?CopyTimestamps=true&AddVttTimeMap=true&StartPositionTicks={0}&EndPositionTicks={1}&api_key={2}", + "stream.vtt?CopyTimestamps=true&AddVttTimeMap=true&StartPositionTicks={0}&EndPositionTicks={1}&ApiKey={2}", positionTicks.ToString(CultureInfo.InvariantCulture), endPositionTicks.ToString(CultureInfo.InvariantCulture), accessToken); |
