Skip to content

Commit

Permalink
#17 Fixed comments
Browse files Browse the repository at this point in the history
  • Loading branch information
skuill committed Dec 18, 2023
1 parent d8d9d44 commit db48c40
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions LyricsScraperNET.Client/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,9 @@ static async Task Main()
//// How to configure for a certain external provider:
//var result = ExampleWithCertainProvider(artistToSearch, songToSearch);

//// Checking if something was found.
//// May not be found in two cases:
//// 1) search errors can be found in the logs or in response fields like ResponseStatusCode and ResponseMessage.
//// 2) The requested song contains only the instrumental, no lyrics. In this case the flag will be true.
//// Checking that something was found. The response can be empty in two cases:
//// 1) A search error occurred. Detailed information can be found in the logs or in response fields like 'ResponseStatusCode' and 'ResponseMessage'.
//// 2) The requested song contains only the instrumental, no lyrics. In this case the flag 'Instrumental' will be true.
if (result.IsEmpty())
{
if (result.Instrumental)
Expand Down
2 changes: 1 addition & 1 deletion LyricsScraperNET/Providers/LyricFind/LyricFindProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ private bool IsInstumentalLyric(string text)
}

/// <summary>
/// Try to find and return the fielad value as boolean. Pattern: "<paramref name="fieldName"/>":<true|false>.
/// Try to find and return the fielad value as boolean. Pattern: [<paramref name="fieldName"/>:true(or false)].
/// In case if fieldName is not found returns false.
/// </summary>
private bool TryReturnBooleanFieldValue(string text, string fieldName)
Expand Down

0 comments on commit db48c40

Please sign in to comment.