async open subtitles
This commit is contained in:
parent
b25bc74a7d
commit
388e87a349
|
@ -225,7 +225,7 @@ namespace MediaBrowser.Providers.Subtitles
|
|||
imdbid: searchImdbId ),
|
||||
};
|
||||
parms.AddRange(subtitleSearchParameters);
|
||||
var result = OpenSubtitles.SearchSubtitles(parms.ToArray());
|
||||
var result = await OpenSubtitles.SearchSubtitlesAsync(parms.ToArray(), cancellationToken).ConfigureAwait(false);
|
||||
if (!(result is MethodResponseSubtitleSearch))
|
||||
{
|
||||
_logger.Debug("Invalid response type");
|
||||
|
|
Loading…
Reference in New Issue
Block a user