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

Lyrics Translation and Romaji (Phonetic symbol for Japanese songs) #732

Closed
1 task
ENDlezZenith opened this issue Sep 7, 2024 · 0 comments · Fixed by #747
Closed
1 task

Lyrics Translation and Romaji (Phonetic symbol for Japanese songs) #732

ENDlezZenith opened this issue Sep 7, 2024 · 0 comments · Fixed by #747
Labels
enhancement New feature or request

Comments

@ENDlezZenith
Copy link
Contributor

ENDlezZenith commented Sep 7, 2024

What do you want to be added?

Lyrics Translation and Romaji (Phonetic symbol for Japanese songs)

Additional context

Some trivia thought I could think of:

  1. I've used NetEase Music. It has translation and romaji. Thus probably possible to scrap translation/romaji at the same time of the lyrics which is already written in the code, but I'm not quite sure whether it's possible to get it with the interface http://music.163.com/api/song/lyric)/api/song/lyric used in the code now. I searched the Internet, but only found information about the interface http://openapi.music.163.com/openapi/music/basic/song/lyric/get/v2.
  2. For a much more general solution (since NetEase Music is only a Chinese Music Service Provider, I don't think other language is provided), probably need integration of popular translation APIs, which if user want to use the translation feature needs to enter their API in the settings. If the API is given, then it could be adapted to translate to the language selected by the user.
  3. For the Romaji part, I found a library called WanaKana or Kuroshiro, is precisely a convertor for Japanese to Romaji and other notations. There could be two buttons on the lyrics page meaning enable/disable light/dark translation and romaji.

Reference

  1. The new and the only NetEase API I could find about get lyrics on the official developer website
  2. An already done solution for Lyrics Get, API Translation, Romaji Converter, etc. But in C#
  3. Repo of WanaKana, Javascript library for detecting and transforming between Hiragana, Katakana, and Romaji
    Preview
    A coarse draft UI preview I'm thinking of about the lyrics page

Is this a server-specific feature? (e.g. Jellyfin only)

  • Yes
@ENDlezZenith ENDlezZenith added the enhancement New feature or request label Sep 7, 2024
@ENDlezZenith ENDlezZenith changed the title Lyrics Translation and Romaji (Phonetic symbol in Japanese) Lyrics Translation and Romaji (Phonetic symbol for Japanese songs) Sep 7, 2024
@jeffvli jeffvli linked a pull request Sep 24, 2024 that will close this issue
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant