Lyrics / lyrics-database

📄 Open Lyrics Database
https://lyrics.github.io
214 stars 46 forks source link

[Suggestion] YAML for lyrics documents and database structure #926

Open hacketiwack opened 10 months ago

hacketiwack commented 10 months ago

I really like the idea of an open database for lyrics.

There are a few things that could make the contribution a bit easier:

Happy to discuss the topic.

snshn commented 6 months ago

Hello Alain,

thank you very much for the suggestion and letting me know about the openlyrics project!

YAML and MD isn't something that everyone is familiar with, ergo currently the direction that this project is taking is to keep everything as plaintext and as easy to read and edit as possible, keep the learning curve to a minimum.

Duplicate albums and compilations (e.g. Music From Motion Picture) make things hard to wrap head around, it's for sure an issue I'd like to resolve at some point. MusicBrainz ID meta-data field helps a lot when it comes to parsing, as it's a database of lyrics before database of albums or artists, hence sacrificing usability and simplicity for providing data that can be obtained from MusicBrainz or other sources would be counter-productive and stall the project's development.

hacketiwack commented 6 months ago

Thanks for your thorough answer. When I wrote my message, I overlooked a very important de facto standard which is the LRC format. This format is used by some music players (e.g. OwnTone). Data in this format can be embedded into audio files. They can have the timing information. It might be of some interest.

snshn commented 6 months ago

Thank you for letting me know about that format. There may be some tool that could automatically generate LRC out of texts in this database, perhaps even do it on-the-fly as a plugin or enhancement for some players. There's lyrics-api.git repository in this organization that has been used by some, it makes it possible to pull lyrics out of the database and into the player via web API.