[PR #65] Add metadata to the lrc lyrics files #162

Closed
opened 2026-03-07 19:50:54 +03:00 by kerem · 0 comments
Owner

Original Pull Request: https://github.com/casualsnek/onthespot/pull/65

State: closed
Merged: Yes


According to wikipedia the lrc files supports some ID tags, so I though it's a good idea to added to the lyrics files here.

I tweked a little the order of the tags from the wikipedia example to match the format used on gnome-subtitles, (why? i'ts the one I'm using to edit some files), feel free to change it if necessary.
Also note that I changed the place of the previous au, by tags, what do you think? Program could be stylized as: OnTheSpot by CasuAlSnek like in the About tab

The added tags are:

  • Title
  • Artist
  • Album
  • Maker (provider, the one who create the lrc file)
  • Version (of the program)
  • Program (used to create the file)

Notes:

  • The version is hard coded
  • Also from wikipedia it seems to support the length tag, ex: [length: 2:23]
  • The Author (songwriter) tag is still missing. On Spotify if you right-click on a song and then click on Show credits the songwriter(s) appear. It looks like is not in the lyrics json file here. I think having this tag on the lrc file is very important because is not present on the audio file.
**Original Pull Request:** https://github.com/casualsnek/onthespot/pull/65 **State:** closed **Merged:** Yes --- [According to wikipedia](https://en.wikipedia.org/wiki/LRC_(file_format)) the `lrc` files supports some ID tags, so I though it's a good idea to added to the lyrics files here. I tweked a little the order of the tags from the wikipedia example to match [the format used on gnome-subtitles](https://gitlab.gnome.org/GNOME/gnome-subtitles/-/blob/master/src/SubLib/IO/SubtitleFormats/SubtitleFormatKaraokeLyricsLRC.cs), (why? i'ts the one I'm using to edit some files), feel free to change it if necessary. Also note that I changed the place of the previous `au`, `by` tags, what do you think? Program could be stylized as: `OnTheSpot by CasuAlSnek` like in the About tab The added tags are: - Title - Artist - Album - Maker (provider, the one who create the lrc file) - Version (of the program) - Program (used to create the file) Notes: * The version is hard coded * Also from wikipedia it seems to support the `length` tag, ex: [length: 2:23] * The Author (songwriter) tag is still missing. _On Spotify if you right-click on a song and then click on `Show credits` the songwriter(s) appear. It looks like is not in the lyrics json file [here](https://github.com/lwd-temp/spotify-json-lyrics/blob/main/lyrics.json)_. I think having this tag on the `lrc` file is very important because is not present on the audio file.
kerem 2026-03-07 19:50:54 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/onthespot#162
No description provided.