mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-16 05:53:03 +03:00
add api key to subtitle url
This commit is contained in:
@@ -345,6 +345,11 @@ namespace MediaBrowser.Model.Dlna
|
||||
StringHelper.ToStringCultureInvariant(startPositionTicks),
|
||||
subtitleProfile.Format);
|
||||
|
||||
if (!string.IsNullOrWhiteSpace(accessToken))
|
||||
{
|
||||
info.Url += "?api_key=" + accessToken;
|
||||
}
|
||||
|
||||
info.IsExternalUrl = false;
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user