add api key to subtitle url

pull/702/head
Luke Pulverenti 9 years ago
parent 2b3fcaa01e
commit b6665e3b4d

@ -345,6 +345,11 @@ namespace MediaBrowser.Model.Dlna
StringHelper.ToStringCultureInvariant(startPositionTicks), StringHelper.ToStringCultureInvariant(startPositionTicks),
subtitleProfile.Format); subtitleProfile.Format);
if (!string.IsNullOrWhiteSpace(accessToken))
{
info.Url += "?api_key=" + accessToken;
}
info.IsExternalUrl = false; info.IsExternalUrl = false;
} }
else else

Loading…
Cancel
Save