Bug 493916

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

Description nekto 2024-10-01 12:08:50 UTC
embed lyrics in kid3-3.9.6 works, but it produces errors if the track title tag contains brackets and quotation marks: ( ' " . However, if you remove these symbols, then the texts are usually found. Is it possible to somehow fix this so that when did the search ignore these characters?
Comment 1 Urs Fleisch 2024-10-04 18:34:44 UTC
Thanks for the report. letras.com seems to choke on *)(!'% and non-ASCII characters. I have not removed these characters from the query parameters. You can find the fixed script at https://invent.kde.org/multimedia/kid3/-/raw/master/src/qml/script/EmbedLyrics.qml?ref_type=heads, the fix is in the getUrl function at line 41.
Comment 2 nekto 2024-10-05 17:04:29 UTC
(In reply to Urs Fleisch from comment #1)
> Thanks for the report. letras.com seems to choke on *)(!'% and non-ASCII
> characters. I have not removed these characters from the query parameters.
> You can find the fixed script at
> https://invent.kde.org/multimedia/kid3/-/raw/master/src/qml/script/
> EmbedLyrics.qml?ref_type=heads, the fix is in the getUrl function at line 41.

Thanks a lot!
Comment 3 Urs Fleisch 2025-07-24 16:32:22 UTC
Fixed in version 3.9.7.
Comment 4 nekto 2025-07-26 11:16:38 UTC
(In reply to Urs Fleisch from comment #3)
> Fixed in version 3.9.7.

Thank you very much!