https://bugs.kde.org/show_bug.cgi?id=486370

--- Comment #2 from nekto <serganti...@gmail.com> ---
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 serganti...@gmail.com :)

чт, 2 мая 2024 г. в 08:25, Urs Fleisch <bugzilla_nore...@kde.org>:

> https://bugs.kde.org/show_bug.cgi?id=486370
>
> Urs Fleisch <uflei...@users.sourceforge.net> changed:
>
>            What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>      Ever confirmed|0                           |1
>              Status|REPORTED                    |CONFIRMED
>
> --- Comment #1 from Urs Fleisch <uflei...@users.sourceforge.net> ---
> The HTML class has changed. Try the following change:
>
> --- a/src/qml/script/EmbedLyrics.qml
> +++ b/src/qml/script/EmbedLyrics.qml
> @@ -71,9 +71,9 @@ Kid3Script {
>                     "/" + encodeURIComponent(title)
>          },
>          parseResponse: function(resp) {
> -          var begin = resp.indexOf('<div class="cnt-letra">')
> +          var begin = resp.indexOf('<div class="lyric-original">')
>            if (begin !== -1) {
> -            begin += 23
> +            begin += 29
>              var end = resp.indexOf("</div>", begin)
>              var txt = resp.substring(begin, end).trim()
>              if (txt.substring(0, 3) === "<p>") {
>
> --
> You are receiving this mail because:
> You reported the bug.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to