Add support for OpenSubsonic enhanced lyrics (#2208)

This commit is contained in:
Jeff
2026-07-09 21:32:05 -07:00
committed by GitHub
parent 0c89fea1ea
commit 355b19c1cb
55 changed files with 4213 additions and 480 deletions
+15
View File
@@ -30,15 +30,30 @@ const convertFurigana = (text: string): Promise<string> => {
return ipcRenderer.invoke('lyric-convert-furigana', text);
};
const convertFuriganaFragment = (text: string): Promise<string> => {
return ipcRenderer.invoke('lyric-convert-furigana-fragment', text);
};
const parseLyricsTextTokens = (text: string) => {
return ipcRenderer.invoke('lyric-parse-text-tokens', text);
};
const convertRomaji = (text: string): Promise<string> => {
return ipcRenderer.invoke('lyric-convert-romaji', text);
};
const convertRomajiTokens = (text: string) => {
return ipcRenderer.invoke('lyric-convert-romaji-tokens', text);
};
export const lyrics = {
convertFurigana,
convertFuriganaFragment,
convertRomaji,
convertRomajiTokens,
getRemoteLyricsByRemoteId,
getRemoteLyricsBySong,
parseLyricsTextTokens,
searchRemoteLyrics,
};