Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when searching for lyrics of an instrumental track #17

Closed
skuill opened this issue Dec 16, 2023 · 3 comments
Closed

Error when searching for lyrics of an instrumental track #17

skuill opened this issue Dec 16, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@skuill
Copy link
Owner

skuill commented Dec 16, 2023

Artist: HIM, Song: Lucifer's Chorale
image

@skuill skuill added the bug Something isn't working label Dec 16, 2023
@skuill
Copy link
Owner Author

skuill commented Dec 16, 2023

Genius provider throw this error while trying to parse the html page with a lyric.
SearchLyric method should not throw any exceptions and break users code. Only log errors.
TODO:

  1. Try Catch providers exceptions and log them.
  2. Properly parse instrumental lyrics in providers.
  3. Mark empty lyric response in case of instrumental lyric.
  4. Add ability to configure logger in client/providers from ILoggerFactory.
  5. Add Unit Tests (integration?) in case of instrumental lyric.

skuill added a commit that referenced this issue Dec 16, 2023
…Client and Providers. Added Instrumental flag to the ResponseMessage.
skuill added a commit that referenced this issue Dec 16, 2023
skuill added a commit that referenced this issue Dec 18, 2023
skuill added a commit that referenced this issue Dec 18, 2023
#17 Error when searching for lyrics of an instrumental track
@skuill
Copy link
Owner Author

skuill commented Dec 19, 2023

@skuill skuill closed this as completed Dec 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant