Skip to content

Lyrics API optional setup#475

Merged
NeptuneHub merged 9 commits intomainfrom
devel
May 3, 2026
Merged

Lyrics API optional setup#475
NeptuneHub merged 9 commits intomainfrom
devel

Conversation

@NeptuneHub
Copy link
Copy Markdown
Owner

This PR enable the possibility to configure lyrics API. The idea is leave the user to bring is own API by putting an example of API call.

It actually support:

  • Title, Artist, API Token: in query string;
  • Lyrics json response.

NeptuneHub and others added 2 commits May 2, 2026 16:38
Co-authored-by: Copilot <copilot@github.com>
Comment thread app_setup.py Dismissed
Comment thread app_setup.py Fixed
Comment thread app_setup.py Fixed
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces a user-configurable lyrics API system, enabling the definition of two external API slots for fetching lyrics prior to local Whisper transcription. It includes a new setup wizard interface for analyzing example URLs to auto-detect parameters and JSON fields, alongside backend updates to handle dynamic requests and environment adjustments to disable HuggingFace XetHub transport. Feedback focuses on enhancing the security and robustness of the API interaction logic, specifically recommending stronger SSRF protection, the addition of standard User-Agent headers, safer handling of configuration values to prevent potential AttributeError exceptions, and dynamic character set detection for API responses.

Comment thread app_setup.py
Comment thread app_setup.py
Comment thread lyrics/lyrics_transcriber.py Outdated
Comment thread lyrics/lyrics_transcriber.py
Comment thread lyrics/lyrics_transcriber.py Outdated
NeptuneHub and others added 7 commits May 2, 2026 18:01
…uest forgery'

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
… through an exception'

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
… through an exception'

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: Copilot <copilot@github.com>
Co-authored-by: Copilot <copilot@github.com>
@NeptuneHub NeptuneHub merged commit 5cca020 into main May 3, 2026
20 checks passed
@NeptuneHub NeptuneHub deleted the devel branch May 3, 2026 16:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants