DEV Community 👩‍💻👨‍💻

Discussion on: A Python script that search and add lyrics to offline songs

Collapse
 
moesalim88 profile image
Moe Salim

Thanks for this. I tested it with one mp3 file - 'The Shacks - Crimson and Clover', the script says it found the lyrics, but it's a different song. Maybe adding more lyrics search engines to the script might help? Also not sure where it is saving the lyrics to exactly:

PS C:\Users\Mojojo\Desktop\Developer\lyricy-master> python lyricy.py ".\The Shacks - Crimson and Clover.mp3"
Searching for
Found Best Match: Ava Max – Into Your Arms (No Rap) Lyrics Download LRC x PDF File
Getting Lyrics ...
Setting Lyrics ...
Done :)

Collapse
 
yogeshwaran01 profile image
YOGESHWARAN R Author

It save to same mp3 itself. Lyrics added to song metadata.

Collapse
 
moesalim88 profile image
Moe Salim

OK I see, thanks. Unfortunately, it seems to pick the wrong lyrics for the song I selected.

Thread Thread
 
yogeshwaran01 profile image
YOGESHWARAN R Author

search_lyrics function return only first lyrics of list of lyrics scraped which has 5 to 6 lyrics. Chage the script accordingly to get all lyrics and select the lyrics manually and then added it to song.

Thread Thread
 
moesalim88 profile image
Moe Salim

That' beyond my Python capabilities at the moment. Maybe I shall make this a project when my skills have improved... like A LOT, lol. Thanks nonetheless :)