Fix/workaround issues with fetching lyrics from letras.mus.br#
BUG:36
This commit is contained in:
committed by
craig.p.drummond@gmail.com
parent
eafeb5f6bf
commit
dcc47d1b57
@@ -46,6 +46,7 @@
|
||||
4 pixels instead.
|
||||
29. Workaround tab-widget issues with Gtk style. Only draw highlight for
|
||||
selected item, and item curretly under mouse - no fade in/out.
|
||||
30. Fix/workaround issues with fetching lyrics from letras.mus.br
|
||||
|
||||
0.7.1
|
||||
-----
|
||||
|
||||
@@ -34,13 +34,23 @@
|
||||
</exclude>
|
||||
<invalidIndicator value="Page not Found"/>
|
||||
</provider>
|
||||
<provider name="letras.mus.br" title="" charset="iso-8859-1" url="http://letras.terra.com.br/winamp.php?musica={title}&artista={artist}">
|
||||
<provider name="letras.mus.br" title="" charset="utf-8" url="http://letras.terra.com.br/winamp.php?musica={title}&artista={artist}">
|
||||
<urlFormat replace="_@,;&\/"" with="_"/>
|
||||
<urlFormat replace=" " with="+"/>
|
||||
<extract>
|
||||
<item begin="</div>" end="</div>"/>
|
||||
</extract>
|
||||
<exclude>
|
||||
<item begin="<!--" end="-->"/>
|
||||
<!--
|
||||
<item begin="<ul><li id="ico_plugin" class="inativo border-top" >" end="</ul>"/>
|
||||
<item begin="<div id="tudo" class="aberto">" end="</div>"/>
|
||||
<item begin="<h3 id="logo">" end="</h3>"/>
|
||||
<item begin="<form target="_blank" action="http://letras.terra.com.br/" method="get" id="busca">" end="</form>"/>
|
||||
-->
|
||||
</exclude>
|
||||
<invalidIndicator value="Verifique se o nome do seu arquivo e sua"/>
|
||||
<invalidIndicator value="Resultados prováveis "/>
|
||||
</provider>
|
||||
<provider name="loudson.gs" title="" charset="utf-8" url="http://www.loudson.gs/{a}/{artist}/{album}/{title}">
|
||||
<urlFormat replace=" _@,;&\/"" with="-"/>
|
||||
|
||||
@@ -163,6 +163,7 @@ void UltimateLyricsProvider::LyricsFetched() {
|
||||
emit Finished(id);
|
||||
#endif
|
||||
|
||||
lyrics=lyrics.trimmed();
|
||||
emit InfoReady(id, lyrics);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user