add api key to subtitle url

This commit is contained in:
Luke Pulverenti 2016-03-15 15:12:10 -04:00
parent 2b3fcaa01e
commit b6665e3b4d

View File

@ -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