Logo
Explore Help
Register Sign In
javier/jellyfin-audio-player
1
0
Fork 0
You've already forked jellyfin-audio-player
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
3629f8c756fdcc06c97d9111a1daa0c48c7d6b35
jellyfin-audio-player/src/utility/JellyfinApi/lyrics.ts

7 lines
218 B
TypeScript
Raw Normal View History

fix: retrieve codec metadata and lyrics asynchronously
2024-10-25 00:25:01 +02:00
import { Lyrics } from '@/store/music/types';
Lyrics implementation prototype (#224) * Lyrics implementation prototype * feat: update lyrics view * chore: add docs * chore: cleanup * feat: animate active text * fix: hide lyrics button when there are none * feat: create lyrics preview in now playing modal * fix: header overlay color Closes #224 Closes #151 Closes #100 --------- Co-authored-by: Lei Nelissen <lei@codified.nl>
2024-07-25 20:07:23 +09:00
import { fetchApi } from './lib';
fix: retrieve codec metadata and lyrics asynchronously
2024-10-25 00:25:01 +02:00
export async function retrieveTrackLyrics(trackId: string): Promise<Lyrics> {
return fetchApi<Lyrics>(`/Audio/${trackId}/Lyrics`);
Lyrics implementation prototype (#224) * Lyrics implementation prototype * feat: update lyrics view * chore: add docs * chore: cleanup * feat: animate active text * fix: hide lyrics button when there are none * feat: create lyrics preview in now playing modal * fix: header overlay color Closes #224 Closes #151 Closes #100 --------- Co-authored-by: Lei Nelissen <lei@codified.nl>
2024-07-25 20:07:23 +09:00
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.3 Page: 20ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API