Bug 493916 - errors embed lyrics
Summary: errors embed lyrics
Status: REPORTED
Alias: None
Product: kid3
Classification: Applications
Component: general (show other bugs)
Version: 3.9.x
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Urs Fleisch
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-01 12:08 UTC by nekto
Modified: 2024-10-05 17:04 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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!