mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-20 07:45:26 +03:00
Prefer ApiKey over api_key in generated URL's (#13342)
This commit is contained in:
@@ -550,7 +550,7 @@ public class DynamicHlsHelper
|
||||
|
||||
var url = string.Format(
|
||||
CultureInfo.InvariantCulture,
|
||||
"{0}/Subtitles/{1}/subtitles.m3u8?SegmentLength={2}&api_key={3}",
|
||||
"{0}/Subtitles/{1}/subtitles.m3u8?SegmentLength={2}&ApiKey={3}",
|
||||
state.Request.MediaSourceId,
|
||||
stream.Index.ToString(CultureInfo.InvariantCulture),
|
||||
30.ToString(CultureInfo.InvariantCulture),
|
||||
@@ -587,7 +587,7 @@ public class DynamicHlsHelper
|
||||
|
||||
var url = string.Format(
|
||||
CultureInfo.InvariantCulture,
|
||||
"Trickplay/{0}/tiles.m3u8?MediaSourceId={1}&api_key={2}",
|
||||
"Trickplay/{0}/tiles.m3u8?MediaSourceId={1}&ApiKey={2}",
|
||||
width.ToString(CultureInfo.InvariantCulture),
|
||||
state.Request.MediaSourceId,
|
||||
user.GetToken());
|
||||
|
||||
Reference in New Issue
Block a user