mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-17 03:45:56 +01:00
Merge pull request #4475 from maximko/master
Fetching lyrics from lololyrics.com
This commit is contained in:
commit
20923c7303
@ -59,6 +59,13 @@
|
||||
</extract>
|
||||
<invalidIndicator value="Verifique se o nome do seu arquivo e sua"/>
|
||||
</provider>
|
||||
<provider name="lololyrics.com" title="" charset="utf-8" url="http://api.lololyrics.com/0.5/getLyric?artist={artist}&track={title}">
|
||||
<urlFormat replace="_@,;&\/"#" with="_"/>
|
||||
<extract>
|
||||
<item tag="<response>"/>
|
||||
</extract>
|
||||
<invalidIndicator value="ERROR"/>
|
||||
</provider>
|
||||
<provider name="loudson.gs" title="" charset="utf-8" url="http://www.loudson.gs/{a}/{artist}/{album}/{title}">
|
||||
<urlFormat replace=" _@,;&\/"" with="-"/>
|
||||
<urlFormat replace="." with=""/>
|
||||
|
@ -376,16 +376,25 @@ const siteDescriptors = {
|
||||
charset: "utf-8",
|
||||
extract: [['</a>?','<div']]
|
||||
},
|
||||
"letras.mus.br": {
|
||||
charset: "iso-8859-1",
|
||||
url: "http://letras.terra.com.br/winamp.php?musica={title}&artista={artist}",
|
||||
urlFormat : [
|
||||
{rep: "_", punct: "_@,;&\\/\"" },
|
||||
{rep: "+", punct: " " },
|
||||
],
|
||||
extract: [["</div>","</div>"]],
|
||||
invalidIndicator: "Verifique se o nome do seu arquivo e sua",
|
||||
},
|
||||
"letras.mus.br": {
|
||||
charset: "iso-8859-1",
|
||||
url: "http://letras.terra.com.br/winamp.php?musica={title}&artista={artist}",
|
||||
urlFormat : [
|
||||
{rep: "_", punct: "_@,;&\\/\"" },
|
||||
{rep: "+", punct: " " },
|
||||
],
|
||||
extract: [["</div>","</div>"]],
|
||||
invalidIndicator: "Verifique se o nome do seu arquivo e sua",
|
||||
},
|
||||
"lololyrics.com": {
|
||||
charset: "utf-8",
|
||||
url: "http://api.lololyrics.com/0.5/getLyric?artist={artist}&track={title}",
|
||||
urlFormat : [
|
||||
{rep: "_", punct: "_@,;&\\/\"#" },
|
||||
],
|
||||
extract: '<response>',
|
||||
invalidIndicator: "ERROR",
|
||||
},
|
||||
}
|
||||
|
||||
// --------------------------------------------------------------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user