tranxuanthang / lrcget

Utility for mass-downloading LRC synced lyrics for your offline music library.
MIT License
837 stars 26 forks source link

Support for songs without metadata #27

Open fineless71 opened 1 year ago

fineless71 commented 1 year ago

Hi, some of my songs are not showing up in the list. It seems that they are the ones without metadata. Some metadata can be obtained from the file name. Generally, the format is something like Artist 1 & Artist 2 - Song Name (feat. Featured Artist Name) (Remixer Name Remix)

For example, you can download a song off of https://ncs.io/music and it won't show up in the list.

tranxuanthang commented 1 year ago

I don't really like the file name parsing approach to get the metadata, in many cases the track name and artist can have the special characters like & and -, which will mess up the parser. Also, for the moment, LRCLIB requires the track to have the album name as well.

I suggest that you add the proper metadata for those tracks, some automated tools like beets might help.

fineless71 commented 1 year ago

While it's not perfect I think it's a better approach for songs without metadata than skipping the song all together. What about just searching for the file name in the same way you can search without metadata on the LRCLIB homepage? Or as a last resort, I think the song should still be shown but they need to search for lyrics manually.

Also, for the moment, LRCLIB requires the track to have the album name as well.

Normally you can get the album from the name of the parent folder.

fineless71 commented 8 months ago

I don't really like the file name parsing approach to get the metadata, in many cases the track name and artist can have the special characters like & and -

There needs to be parsing either way to fix issues like this (artists tab): image

Dr-Blank commented 8 months ago

Generally, the format is something like Artist 1 & Artist 2 - Song Name (feat. Featured Artist Name) (Remixer Name Remix)

https://www.mp3tag.de/

for bulk parsing and setting metadata