More progress re: #34
- Change of direction, LRCLib searches from /lyric/search now use internal cache - which is a PGSQL import of the LRCLib SQLite database. Change to PGSQL was made for performance.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
from dataclasses import dataclass
|
||||
from typing import Union, Optional
|
||||
from typing import Union
|
||||
|
||||
|
||||
@dataclass
|
||||
@@ -22,25 +22,6 @@ class LyricsResult:
|
||||
time: float = 0.00
|
||||
|
||||
|
||||
@dataclass
|
||||
class LRCLibResult:
|
||||
"""
|
||||
Class for returned Lyrics Results
|
||||
Attributes:
|
||||
id (int): returned id
|
||||
artist (str): returned artist
|
||||
song (str): returned song
|
||||
plainLyrics (str): returned (plain) lyrics
|
||||
syncedLyrics (str): returned synchronizedLyrics
|
||||
"""
|
||||
|
||||
id: int
|
||||
artist: str
|
||||
song: str
|
||||
plainLyrics: Optional[str] = None
|
||||
syncedLyrics: Optional[str] = None
|
||||
|
||||
|
||||
"""
|
||||
Generic
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user