mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-16 02:18:54 -07:00
add api key to subtitle url
This commit is contained in:
parent
2b3fcaa01e
commit
b6665e3b4d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user