mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-21 16:25:28 +03:00
Prefer ApiKey over api_key in generated URL's (#13342)
This commit is contained in:
@@ -979,7 +979,7 @@ public class StreamInfo
|
||||
}
|
||||
|
||||
list.Add(new NameValuePair("PlaySessionId", item.PlaySessionId ?? string.Empty));
|
||||
list.Add(new NameValuePair("api_key", accessToken ?? string.Empty));
|
||||
list.Add(new NameValuePair("ApiKey", accessToken ?? string.Empty));
|
||||
|
||||
string? liveStreamId = item.MediaSource?.LiveStreamId;
|
||||
list.Add(new NameValuePair("LiveStreamId", liveStreamId ?? string.Empty));
|
||||
@@ -1189,7 +1189,7 @@ public class StreamInfo
|
||||
|
||||
if (!string.IsNullOrEmpty(accessToken))
|
||||
{
|
||||
info.Url += "?api_key=" + accessToken;
|
||||
info.Url += "?ApiKey=" + accessToken;
|
||||
}
|
||||
|
||||
info.IsExternalUrl = false;
|
||||
|
||||
Reference in New Issue
Block a user