Bug 486405

Summary: embed lyrics
Product: [Applications] kid3 Reporter: nekto <sergantiche>
Component: generalAssignee: Urs Fleisch <ufleisch>
Status: RESOLVED FIXED    
Severity: major    
Priority: NOR    
Version First Reported In: 3.9.x   
Target Milestone: ---   
Platform: Debian stable   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description nekto 2024-05-01 14:12:18 UTC
embed lyrics does not search for song lyrics, it doesn’t find any at all, starting from version kid3-3.9.3 :( although clementine finds all the lyrics on the same resource letras.com. Please fix it!
Comment 1 Urs Fleisch 2024-05-01 15:56:11 UTC
The web sites providing lyrics are changing all the time. Therefore "Embed Lyrics" is implemented as a script, you can find it in /usr/share/kid3/qml/script/EmbedLyrics.qml. If you know a bit of JavaScript, you could make a copy of it, fix it, and add it as a user action.
Comment 2 nekto 2024-05-01 18:12:50 UTC
(In reply to Urs Fleisch from comment #1)
> The web sites providing lyrics are changing all the time. Therefore "Embed
> Lyrics" is implemented as a script, you can find it in
> /usr/share/kid3/qml/script/EmbedLyrics.qml. If you know a bit of JavaScript,
> you could make a copy of it, fix it, and add it as a user action.

Thank you. unfortunately I don’t know Java script, I know a little bash, but not well :(
Comment 3 nekto 2024-05-01 19:02:53 UTC
I tried to edit the EmbedLyrics.qml file, inserting the address of the resource where Clementine obviously finds everything (letras.mus.br), but the result was negative. I feel like the script is wrong :(
Comment 4 nekto 2024-05-02 14:11:32 UTC
thank you, but I can’t do it, because I really don’t understand how it should be correctly :( please send me the ready-made EmbedLyrics.qml script on sergantiche@gmail.com :)
Comment 6 nekto 2024-05-04 10:36:15 UTC
(In reply to Urs Fleisch from comment #5)
> You can get it from
> https://invent.kde.org/multimedia/kid3/-/raw/master/src/qml/script/
> EmbedLyrics.qml

it works now! 🤩 thank you very much! 🙏
Comment 7 Urs Fleisch 2024-09-21 11:25:25 UTC
Fixed in version 3.9.6.
Comment 8 nekto 2024-09-25 13:13:29 UTC
(In reply to Urs Fleisch from comment #7)
> Fixed in version 3.9.6.

thanks a lot for the correction!