Utilize LRCLib SQLite Dumps for Lyric Retrieval #34
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
One of the currently used lyric search sources, LRCLib, provides periodic database dumps, in the form of gzip'd SQLite DBs.
Current goal: Create independent API endpoint(s) for cached lyric retrieval against the LRCLib database. Fetch and import new database dumps provided from LRCLib (after validating database structure between files). Current gzip filesize is at
17.2GB.Database Structure (2 relevant tables:
tracks,lyrics)tracksQuery used to create this table
lyricsQuery used to create this table
Example Query
Change of direction: The LRCLib source for /lyric/search will be replaced with local cache fetches (from LRCLib DB dump)
LRCLib SQLite data has been imported to a Postgres database for performance reasons.
TODO