Skip to content

Commit

Permalink
Fix typo in the code
Browse files Browse the repository at this point in the history
  • Loading branch information
Libitum committed Feb 20, 2020
1 parent 8093f18 commit c4da482
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Jellyfin.Plugin.Douban/MovieProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ public async Task<MetadataResult<Movie>> GetMetadata(MovieInfo info,
{
_logger.LogInformation($"Douban:GetMetadata movie name: {info.Name}");

// Only handle it when launguage is "zh"
// Only handle it when language is "zh"
if (info.MetadataLanguage != "zh")
{
_logger.LogInformation("DoubanProvider: the required " +
"launguage is not zh, so just bypass DoubanProvider");
_logger.LogInformation("DoubanProvider: the required " +
"language is not zh, so just bypass DoubanProvider");
return new MetadataResult<Movie>();
}

Expand Down Expand Up @@ -78,11 +78,11 @@ public async Task<IEnumerable<RemoteSearchResult>> GetSearchResults(

var results = new List<RemoteSearchResult>();

// Only handle it when launguage is "zh"
// Only handle it when language is "zh"
if (info.MetadataLanguage != "zh")
{
_logger.LogInformation("DoubanProvider: the required " +
"launguage is not zh, so just bypass DoubanProvider");
_logger.LogInformation("DoubanProvider: the required " +
"language is not zh, so just bypass DoubanProvider");
return results;
}

Expand Down

0 comments on commit c4da482

Please sign in to comment.