mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-22 15:58:45 +01:00
add genius.com as lyrics provider (#6073)
This commit is contained in:
parent
c01b7bc430
commit
6f3032a1ec
@ -60,6 +60,34 @@
|
||||
<invalidIndicator value=""iTotalRecords": 0"/>
|
||||
<invalidIndicator value="lyrics not available"/>
|
||||
</provider>
|
||||
<provider name="genius.com" charset="utf-8" url="https://www.genius.com/{artist}-{title}-lyrics">
|
||||
<urlFormat replace=",._@!#%^*+;\/"'()[]" with=""/>
|
||||
<urlFormat replace=" " with="-"/>
|
||||
<!-- When $ is used as the dollar sign it is ommitted from the url
|
||||
When $ is used instead of 's',
|
||||
in some cases it is replaced by 's'(Too $hort -> too-short)
|
||||
in other cases it is ommited ($uicideboy$ -> uicideboy)
|
||||
I chose to ommit it though, in some cases it's gonna be problematic -->
|
||||
<urlFormat replace="$" with=""/>
|
||||
<urlFormat replace="ÄÂÀÁÃäâàáã" with="a"/>
|
||||
<urlFormat replace="ËÊÈÉëêèé" with="e"/>
|
||||
<urlFormat replace="ÏÌïì" with="i"/>
|
||||
<urlFormat replace="ÖÔÒÓÕöôòóõ" with="o"/>
|
||||
<urlFormat replace="ÜŪÙÚüūùú" with="u"/>
|
||||
<urlFormat replace="ŸÝÿý" with="y"/>
|
||||
<urlFormat replace="Ññ" with="n"/>
|
||||
<urlFormat replace="Çç" with="c"/>
|
||||
<urlFormat replace="ß" with="ss"/>
|
||||
<urlFormat replace="&" with="and"/>
|
||||
<extract>
|
||||
<item tag="<div class="lyrics">"/>
|
||||
</extract>
|
||||
<exclude>
|
||||
<item begin="<!--" end="-->"/>
|
||||
<item begin="<a href=" end=">"/>
|
||||
<item begin="</a" end=">"/>
|
||||
</exclude>
|
||||
</provider>
|
||||
<provider name="hindilyrics.net (Bollywood songs)" title="{title} ({album})" charset="utf-8" url="http://www.hindilyrics.net/lyrics/of-{Title}.html">
|
||||
<urlFormat replace=" _@;\/"'()[]" with="%20"/>
|
||||
<urlFormat replace="?" with=""/>
|
||||
|
Loading…
Reference in New Issue
Block a user