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>
This commit is contained in:
Abubakr Khabebulloev
2024-07-25 20:07:23 +09:00
committed by GitHub
parent a64f52c4f9
commit c5b1406e16
22 changed files with 599 additions and 40 deletions

View File

@@ -1,3 +1,5 @@
import {Lyrics} from '@/utility/JellyfinApi/lyrics.ts';
export interface UserData {
PlaybackPositionTicks: number;
PlayCount: number;
@@ -67,6 +69,8 @@ export interface AlbumTrack {
BackdropImageTags: any[];
LocationType: string;
MediaType: string;
HasLyrics: boolean;
Lyrics: Lyrics | null;
}
export interface State {
@@ -99,4 +103,4 @@ export interface Playlist {
export interface SimilarAlbum {
Id: string;
}
}