<div dir="ltr">Hi all,<br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jan 28, 2015 at 4:40 AM, Be <span dir="ltr"><<a href="mailto:be.0@gmx.com" target="_blank">be.0@gmx.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="">On 01/05/2015 08:39 AM, Anmol Ahuja wrote:<br>
> As of current git, the scripting interface exposes lyrics tags with<br>
> other embedded metadata, and the default lyrics script already reads<br>
> and writes lyrics to tracks' lyrics tags.<br>
<br>
</span>This does not work for me. Inserting Amarok.debug(embeddedLyrics); in<br>
this function in the Lyricwiki script prints an empty line in the<br>
debugging output even if there is a lyrics tag in the file and there are<br>
lyrics in Amarok's database.<br>
<br>
function readEmbeddedLyrics()<br>
{<br>
    var track = Amarok.Engine.currentTrack();<br>
    var embeddedLyrics = track.tags["lyrics"];<br>
    if( embeddedLyrics != undefined && embeddedLyrics !== "" )<br>
    {<br>
        Amarok.debug( "Using embedded lyrics for track \"" + track.title<br>
+ "\"" );<br>
        Amarok.Lyrics.showLyricsHtml( embeddedLyrics );<br>
        return true;<br>
    }<br>
    return false;<br>
}<br>
<br>
<br></blockquote><div>Anmol, if you talk about "current git", I presume you mean your repo, right? IIRC this was not merged to git master yet.<br><br></div><div>Be: please check Anmol's repository, or even better, check the review requests located here: <a href="https://git.reviewboard.kde.org/dashboard/?group=amarok">https://git.reviewboard.kde.org/dashboard/?group=amarok</a> <br><br><br></div></div>Regards, Myriam<br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr"><div><div style="text-align:left">Proud member of the Amarok and KDE Community</div><div style="text-align:left">Protect your freedom and join the Fellowship of FSFE:</div><div style="text-align:left"><a href="http://www.fsfe.org" target="_blank">http://www.fsfe.org</a><a href="http://www.fsfe.org" target="_blank"><br></a></div><div style="text-align:left">Please don't send me proprietary file formats,</div><div style="text-align:left">use ISO standard ODF instead (ISO/IEC 26300)</div></div></div></div>
</div></div>